RFR: 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Christian Hagedorn
chagedorn at openjdk.org
Thu Jun 27 08:39:17 UTC 2024
The test`compiler/c1/TestTraceLinearScanLevel.java` is occasionally timing out on macosx-x64 when running with `-Xcomp`. The test's purpose is to sanity check the `TraceLinearScanLevel` flag with a hello world like test. It runs with the highest level which prints quite a lot of data which takes time. It becomes even worse when running with `-Xcomp`. Since we only want to sanity check the flag, there is not that much benefit in additionally running this test with `-Xcomp`. This only unnecessarily increases the time to run this test.
I therefore exclude the test from running with `-Xcomp`. As a trade-off, I added `-Xbatch` to at least cover all the C1 compiled methods from start-up.
Thanks,
Christian
-------------
Commit messages:
- 8335142: compiler/c1/TestTraceLinearScanLevel times out with -Xcomp
Changes: https://git.openjdk.org/jdk/pull/19923/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19923&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8335142
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/19923.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19923/head:pull/19923
PR: https://git.openjdk.org/jdk/pull/19923
More information about the hotspot-compiler-dev
mailing list