RFR: 8369236: testlibrary_tests/ir_framework/tests/TestCompileThreshold.java timed out

Christian Hagedorn chagedorn at openjdk.org
Tue Oct 7 07:51:30 UTC 2025


The test `testlibrary_tests/ir_framework/tests/TestCompileThreshold.java` times out intermittently after the timeout factor change (taking more than 120s). On my local machine, I measured around ~105-115s.

The test uses `CompileThreshold=10` which is almost like `Xcomp` and thus quite slow. However, the purpose of this test is not to stress the compiler but actually to verify that passing `CompileThreshold` to the IR framework over jtreg options is properly ignored. Therefore, we can use higher `CompileThreshold` values and achieve the same goal. With the proposed changes, the test finishes in ~10-15s on my local machine.

Thanks,
Christian

-------------

Commit messages:
 - 8369236: testlibrary_tests/ir_framework/tests/TestCompileThreshold.java timed out

Changes: https://git.openjdk.org/jdk/pull/27667/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27667&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369236
  Stats: 13 lines in 1 file changed: 0 ins; 0 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/27667.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27667/head:pull/27667

PR: https://git.openjdk.org/jdk/pull/27667


More information about the hotspot-compiler-dev mailing list