RFR: 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC [v3]
Calvin Cheung
ccheung at openjdk.org
Wed May 22 05:56:06 UTC 2024
On Wed, 22 May 2024 04:53:35 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> comments from David H. and @turbanoff
>
> test/jtreg-ext/requires/VMProps.java line 484:
>
>> 482: if (opt.startsWith(GC_PREFIX) && opt.endsWith(GC_SUFFIX) &&
>> 483: !opt.equals(G1GC_ENABLED))
>> 484: return false;
>
> Based on the bug report both of these conditions are needed to be enabled for there to be a problem, but you exclude based on either `-XX:-UseCompressedClassPointers"` or any non-G1 GC. ??
I've checked again, without the fix, the test fails if running with either `-Dtest.cds.runtime.options=-XX:-UseCompressedClassPointers` or any non-G1GC such as `-Dtest.cds.runtime.options=-XX:+UseZGC`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19274#discussion_r1609299352
More information about the hotspot-runtime-dev
mailing list