RFR: 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops [v3]
Calvin Cheung
ccheung at openjdk.org
Wed Oct 23 17:12:40 UTC 2024
On Wed, 23 Oct 2024 16:55:21 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
>> [JDK-8298614](https://bugs.openjdk.org/browse/JDK-8298614) enabled writing the archived heap region with SerialGC and ParallelGC, but archives written with XX:-UseCompressedOops can't be loaded at runtime. This patch enables heap loading for SerialGC and ParallelGC as well as EpsilonGC and Shenandoah since they were enabled in [JDK-8341913](https://bugs.openjdk.org/browse/JDK-8341913). Related tests were updated to check for the new conditions. Verified with tier 1-5 tests.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
>
> Calvin comments and copyright
Changes requested by ccheung (Reviewer).
test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java line 50:
> 48: * @requires vm.gc.Parallel
> 49: * @requires vm.gc.G1
> 50: * requires vm.bits == "64"
Missing the `@` before `requires`.
-------------
PR Review: https://git.openjdk.org/jdk/pull/21647#pullrequestreview-2389468004
PR Review Comment: https://git.openjdk.org/jdk/pull/21647#discussion_r1813197656
More information about the shenandoah-dev
mailing list