Integrated: 8366875: CompileTaskTimeout should be reset for each iteration of RepeatCompilation

Manuel Hässig mhaessig at openjdk.org
Fri Sep 19 09:11:35 UTC 2025


On Fri, 5 Sep 2025 15:27:22 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 94a301a7
Author:    Manuel Hässig <mhaessig at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/94a301a70e19be284f406ebb6d8b94b6f96e1a24
Stats:     17 lines in 4 files changed: 16 ins; 0 del; 1 mod

8366875: CompileTaskTimeout should be reset for each iteration of RepeatCompilation

Reviewed-by: dlong, epeter

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

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


More information about the hotspot-compiler-dev mailing list