RFR: 8366775: TestCompileTaskTimeout should use timeoutFactor
Manuel Hässig
mhaessig at openjdk.org
Thu Sep 4 13:31:15 UTC 2025
`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
-------------
Commit messages:
- Use timeuot factor
Changes: https://git.openjdk.org/jdk/pull/27094/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27094&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366775
Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27094.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27094/head:pull/27094
PR: https://git.openjdk.org/jdk/pull/27094
More information about the hotspot-compiler-dev
mailing list