RFR: 8366875: CompileTaskTimeout should be reset for each iteration of RepeatCompilation
Manuel Hässig
mhaessig at openjdk.org
Fri Sep 5 15:32:49 UTC 2025
When running a debug JVM on Linux with a compile task timeout and repeated compilation, the execution will time out almost always because the timeout does not reset for repetitions of a compilation. The core of the compile task timeout is to limit the amount of time a single compilation can take. Thus, this PR resets the `CompileTaskTimeout` for every compilation when running with `-XX:RepeatCompilation=<n>` for n > 1.
This PR is stacked on top of #27094.
Testing:
- [ ] Github Actions
- [x] tier1, tier2, tier3 plus some additional internal testing
-------------
Depends on: https://git.openjdk.org/jdk/pull/27094
Commit messages:
- Reset timeout on repeated compilations
- Add regression test
Changes: https://git.openjdk.org/jdk/pull/27120/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27120&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366875
Stats: 17 lines in 4 files changed: 16 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27120.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27120/head:pull/27120
PR: https://git.openjdk.org/jdk/pull/27120
More information about the hotspot-dev
mailing list