JDK-8358581 : TestDependencyOffsets.java timeouts
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21,25,26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-06-04
  • Updated: 2025-06-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The test TestDependencyOffsets.java sometimes runs into timeouts on older machines (observed on Intel Mac and Power8). An example (Intel Mac, subtests: sse4-v016-A, sse4-v016-U, vanilla-A, vanilla-U):

----------System.out:(6/1857)----------
For random generator using seed: -7002761477140375099
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-7002761477140375099" to command line.
------------------ CompileFramework: Compilation ------------------
Source directory: ./compile-framework-sources-14575122154591378416
Classes directory: ./compile-framework-classes-18076348860269814470
Timeout: compile command: /output_openjdk25_dev_dbgU_darwinintel64/testee-vm/bin/javac -classpath /System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4/compiler/loopopts/superword/TestDependencyOffsets_sse4-v016-A.d:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg/test/hotspot/jtreg/compiler/loopopts/superword:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4/test/lib:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/classes/4:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/jtreg.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/junit-platform-console-standalone-1.11.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/testng-7.3.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/guice-5.1.0.jar:/System/Volumes/Data/artifacts/jtreg-7.5.1+1/lib/jcommander-1.82.jar:/System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/scratch/2/./compile-framework-classes-18076348860269814470 -d ./compile-framework-classes-18076348860269814470 /System/Volumes/Data/output_openjdk25_dev_dbgU_darwinintel64/jtreg_hotspot_tier1_work/JTwork/scratch/2/./compile-framework-sources-14575122154591378416/InnerTest.java
----------System.err:(15/1051)----------
compiler.lib.compile_framework.InternalCompileFrameworkException: Internal exception in Compile Framework, please file a bug:
Process timeout: compilation took too long.
	at compiler.lib.compile_framework.Compile.executeCompileCommand(Compile.java:189)
	at compiler.lib.compile_framework.Compile.compileJavaFiles(Compile.java:83)
	at compiler.lib.compile_framework.Compile.compileJavaSources(Compile.java:59)
	at compiler.lib.compile_framework.CompileFramework.compile(CompileFramework.java:92)
	at compiler.loopopts.superword.TestDependencyOffsets.main(TestDependencyOffsets.java:527)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
	at java.base/java.lang.Thread.run(Thread.java:1474)

Can the test be made faster or should the timeout limit be increased?

Comments
ILW = Test times out (test bug), intermittent with single test on older machines, no workaround = MLH = P4
05-06-2025