RFR: 8366875: CompileTaskTimeout should be reset for each iteration of RepeatCompilation [v3]
Manuel Hässig
mhaessig at openjdk.org
Tue Sep 16 15:38:12 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:
> - [x] Github Actions (failures are unrelated)
> - [x] tier1, tier2, tier3 plus some additional internal testing
Manuel Hässig has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'master' into JDK-8366875-repeat-comp-to
- Reset timeout on repeated compilations
- Add regression test
- Use timeuot factor
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27120/files
- new: https://git.openjdk.org/jdk/pull/27120/files/cfe842c7..f9a170b6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27120&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27120&range=01-02
Stats: 31864 lines in 1079 files changed: 16371 ins; 9354 del; 6139 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-compiler-dev
mailing list