RFR: 8366692: Several gc/shenandoah tests timed out
Aleksey Shipilev
shade at openjdk.org
Tue Sep 2 15:07:43 UTC 2025
On Tue, 2 Sep 2025 13:58:46 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> After JDK-8260555 set the default jtreg timeout factor to 1, then several gc/shenandoah tests run timed out with jtreg options -timeoutFactor:1. So I think it's necessary to increase the timeout value set in tests to make test run normally.
>
> The actual run time consumed on my linux-x64 machine with 224 CPU core threads shows in [JDK-8366692](https://bugs.openjdk.org/browse/JDK-8366692).
>
> Accodring the time statistics, the test test/hotspot/jtreg/gc/shenandoah/TestSieveObjects.java only change the second `@run` at the `@test id=generational` and `@test id=aggressive`, other tests do not need to change. And all the `@run` in test test/hotspot/jtreg/gc/shenandoah/jni/TestJNIGlobalRefs.java changed from 120(default value) to 240.
>
> Change has been verified locally on linux-x64, test-fix only, no risk.
Yeah, it makes sense that tests under verifier are slow. The fix looks fine.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27052#pullrequestreview-3176982444
More information about the hotspot-gc-dev
mailing list