RFR: 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC [v3]
Calvin Cheung
ccheung at openjdk.org
Tue May 21 20:57:29 UTC 2024
> The following two tests contain `@requires vm.cds.write.archived.java.heap` which implies `UseG1GC && UseCompressedClassPointers`
>
> cds/appcds/cacheObject/ArchiveHeapTestClass.java
> cds/serviceability/ReplaceCriticalClassesForSubgraphs.java
>
> The tests would fail if options conflicting with `vm.cds.write.archived.java.heap` are specified via the ` -Dtest.cds.runtime.options` property because the options would be added after the `@require` check.
>
> A fix is to check if the ` -Dtest.cds.runtime.options` property contains non-null value and throws a `SkippedException`.
>
> Update:
> The checking of the ` -Dtest.cds.runtime.options` property is now performed in VMProps.java.
Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
comments from David H. and @turbanoff
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19274/files
- new: https://git.openjdk.org/jdk/pull/19274/files/83529521..23d69b0d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19274&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19274&range=01-02
Stats: 8 lines in 1 file changed: 1 ins; 2 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/19274.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19274/head:pull/19274
PR: https://git.openjdk.org/jdk/pull/19274
More information about the hotspot-runtime-dev
mailing list