RFR: 8341053: Two CDS tests fail again with -UseCompressedOops and UseSerialGC/UseParallelGC

Matias Saavedra Silva matsaave at openjdk.org
Thu Oct 3 17:48:39 UTC 2024


On Wed, 2 Oct 2024 21:53:16 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> A small fix to add a check in WB_CanWriteJavaHeapArchive to allow CDS tests to run with Parallel and Serial GC. However, if compressed oops is disabled (`-XX:-UseCompressedOops`) and specified with `-XX:+UseParallelGC `or `-XX:+UseSerialGC`, the test will be skipped.
> 
> Testing:
> - [x] CDS tests with `-XX:+ParallelGC`
> - [x] CDS tests with `-XX:+SerialGC`
> - [x] test group `open/test/hotspot/jtreg/:hotspot_cds_only` with `-XX:-UseCompressedOops`
> - [x] manually checks that the failed tests in the bug report were not run with `-XX:-UseCompressedOops -XX:+UseParallel`

LGTM!

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

Marked as reviewed by matsaave (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21314#pullrequestreview-2346325510


More information about the hotspot-dev mailing list