RFR: 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC [v2]
Calvin Cheung
ccheung at openjdk.org
Tue May 21 20:57:29 UTC 2024
On Mon, 20 May 2024 04:33:47 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> check test.cds.runtime.options property in VMProps.java
>
> test/jtreg-ext/requires/VMProps.java line 484:
>
>> 482: String gc = opt.substring(GC_PREFIX.length(), opt.length() - GC_SUFFIX.length());
>> 483: if (!gc.equals("G1"))
>> 484: return false;
>
> Can't you just check for `-XX:+UseG1GC` ?
I've pushed another commit based on your suggestion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19274#discussion_r1608939380
More information about the hotspot-runtime-dev
mailing list