RFR: 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC [v2]
Calvin Cheung
ccheung at openjdk.org
Fri May 17 16:38:02 UTC 2024
On Fri, 17 May 2024 02:19:15 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Can't the code that implements the `@requires` check also check for that property?
Yes, I've reverted the changes in the tests and added the checking of the `test.cds.runtime.options` property in `VMProps.java`.
Also, instead of just checking for null value, it checks for if any of the options conflicts is not compatible with writing Java heap objects into the CDS archive.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19274#issuecomment-2117970033
More information about the hotspot-runtime-dev
mailing list