RFR: 8362602: Add test.timeout.factor to CompileFactory to avoid test timeouts [v2]

Manuel Hässig mhaessig at openjdk.org
Mon Jul 21 08:39:39 UTC 2025


On Mon, 21 Jul 2025 08:00:29 GMT, David Briemann <dbriemann at openjdk.org> wrote:

>> Add the TimeoutFactor property to the CompileFramework to avoid timeouts on different systems.
>
> David Briemann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update copyright header

test/hotspot/jtreg/compiler/lib/compile_framework/Compile.java line 186:

> 184:         try {
> 185:             Process process = builder.start();
> 186:             long timeout = COMPILE_TIMEOUT * (long)Math.pow(2, timeoutFactor-1);

Is there a reason for scaling the timeout exponentially instead of linearly, as jtreg does it and most users would expect?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26388#discussion_r2218529003


More information about the hotspot-compiler-dev mailing list