Integrated: 8366775: TestCompileTaskTimeout should use timeoutFactor

Manuel Hässig mhaessig at openjdk.org
Tue Sep 16 13:37:28 UTC 2025


On Thu, 4 Sep 2025 13:26:22 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> `TestCompileTaskTimeout.java` employs a timeout to test that methods compiled faster than a specified `CompileTaskTimeout`. However, it does not make use of the jtreg timeout factor, which lead to #26963 increasing the timeout to 2 s. This PR remedies this, by using the timeout factor and reducing the default timeout to 500 ms.
> 
> Testing:
>  - [x] Github Actions
>  - [x] tier1, tier2 linux-x64-debug, linux-x64, linux-aarch64-debug, linux-aarch64

This pull request has now been integrated.

Changeset: c82070e6
Author:    Manuel Hässig <mhaessig at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c82070e6357a1b49f2887ab22267393ba87d9352
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

8366775: TestCompileTaskTimeout should use timeoutFactor

Reviewed-by: chagedorn, rcastanedalo, mbaesken

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

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


More information about the hotspot-compiler-dev mailing list