Integrated: 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Calvin Cheung
ccheung at openjdk.org
Fri May 24 16:10:05 UTC 2024
On Thu, 16 May 2024 21:37:15 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: c2cca2ab
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c2cca2ab443ff87f689810b747985adfdbfbe54a
Stats: 30 lines in 1 file changed: 27 ins; 2 del; 1 mod
8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Reviewed-by: dholmes, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/19274
More information about the hotspot-runtime-dev
mailing list