RFR: 8366775: TestCompileTaskTimeout should use timeoutFactor
Roberto Castañeda Lozano
rcastanedalo at openjdk.org
Thu Sep 4 14:06:45 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:
> - [ ] Github Actions
> - [ ] tier1, tier2 linux-x64-debug, linux-x64, linux-aarch64-debug, linux-aarch64
Looks good to me! Please check with the PPC port maintainers (and perhaps [the maintainers of RISC-V, s390, and ARM32](https://wiki.openjdk.org/display/HotSpot/Ports)?) that this works in their environment.
-------------
Marked as reviewed by rcastanedalo (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27094#pullrequestreview-3185506163
More information about the hotspot-compiler-dev
mailing list