Integrated: 8343298: Improve stability of runtime/cds/DeterministicDump.java test

Thomas Schatzl tschatzl at openjdk.org
Tue Nov 5 09:36:36 UTC 2024


On Mon, 4 Nov 2024 09:57:46 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this change to make `runtime/cds/DeterministicDump.java` more reliable in presence of GC changes (which https://bugs.openjdk.org/browse/JDK-8295269 stumbled over).
> 
> This includes some change to strip the gc age from the dumped objects, but mainly trying to fix heap sizes etc so that GCs are executed consistently (i.e. not at all) in this test.
> 
> Testing: tier5, running the test a few thousand times
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: abf2dc71
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/abf2dc7128fc0644e85bca32d8f3beacc876cecb
Stats:     10 lines in 2 files changed: 7 ins; 0 del; 3 mod

8343298: Improve stability of runtime/cds/DeterministicDump.java test

Reviewed-by: shade, iklam

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

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


More information about the hotspot-runtime-dev mailing list