RFR: 8341377: Update VMProps.isCDSRuntimeOptionsCompatible to include Parallel and Serial GC

David Holmes dholmes at openjdk.org
Thu Oct 3 08:32:34 UTC 2024


On Thu, 3 Oct 2024 04:56:21 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> After the fix for [JDK-8298614](https://bugs.openjdk.org/browse/JDK-8298614), CDS heap dumping works with Parallel and Serial GC. The `VMProps.isCDSRuntimeOptionsCompatible` method should be updated accordingly so that some CDS tests which requires `vm.cds.write.archived.java.heap` can be run with `-XX:+UseParallelGC` or `-XX:+UseSerialGC`.
> 
> Based on my testing, 25 more CDS tests can be run with `-XX:+UseParallelGC` or `-XX:+UseSerialGC`

LGTM!

Thanks

-------------

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21317#pullrequestreview-2344974104


More information about the hotspot-runtime-dev mailing list