RFR: 8343298: Improve stability of runtime/cds/DeterministicDump.java test [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Nov 4 14:15:04 UTC 2024


> 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

Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:

  * shade review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21871/files
  - new: https://git.openjdk.org/jdk/pull/21871/files/46f59174..a1f1905d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21871&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21871&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 3 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21871.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21871/head:pull/21871

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


More information about the hotspot-runtime-dev mailing list