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

Calvin Cheung ccheung at openjdk.org
Fri Oct 4 16:17:41 UTC 2024


On Thu, 3 Oct 2024 00:38:25 GMT, Ioi Lam <iklam 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

Thanks @iklam, @matias9927 for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/21314#issuecomment-2394042033


More information about the hotspot-dev mailing list