[jdk11u-dev] Integrated: 8242312: use reproducible random in hotspot gc tests

Goetz Lindenmaier goetz at openjdk.java.net
Sat Apr 9 07:32:48 UTC 2022


On Fri, 8 Apr 2022 07:42:38 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 11.0.16-oracle.
> 
> Resolved context, "8272783: Epsilon: Refactor tests to improve performance" already backported
>  test/hotspot/jtreg/gc/epsilon/TestByteArrays.java
>  test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java
>  test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java
>  test/hotspot/jtreg/gc/epsilon/TestRefArrays.java
> 
> I had to "implement" the change for this test. The test was removed with CMS
> before the backported change was pushed.
>  test/hotspot/jtreg/gc/stress/gcold/TestGCOldWithCMS.java
> 
> Copyright
>  test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData10.java
> 
> Context
>  test/hotspot/jtreg/gc/g1/humongousObjects/TestNoAllocationsInHRegions.java
>  test/hotspot/jtreg/gc/logging/TestUnifiedLoggingSwitchStress.java
> 
> "8256806: Shenandoah: optimize shenandoah/jni/TestPinnedGarbage.java test" was already 
> backported. I had to redo the change, differences wrt. random to head are gone now.
>  test/hotspot/jtreg/gc/shenandoah/jni/TestPinnedGarbage.java
> 
> Test at different location, patched manually
>  test/hotspot/jtreg/gc/stress/CriticalNativeStress.java

This pull request has now been integrated.

Changeset: 7a021667
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/7a021667929790c2156ff70f35837fe0df684d0b
Stats:     276 lines in 51 files changed: 99 ins; 18 del; 159 mod

8242312: use reproducible random in hotspot gc tests

Reviewed-by: mdoerr
Backport-of: 5efa545d487cbcdbee56e3afad925762c8688886

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/1021


More information about the jdk-updates-dev mailing list