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

Aleksey Shipilev shade at openjdk.org
Thu Oct 3 10:08: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`

Marked as reviewed by shade (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list