Integrated: 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops
Matias Saavedra Silva
matsaave at openjdk.org
Mon Oct 28 14:35:36 UTC 2024
On Tue, 22 Oct 2024 19:32:03 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.
This pull request has now been integrated.
Changeset: 9f6211bc
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9f6211bcf1b46e4bfba2d128d9eb8457bc0cde51
Stats: 149 lines in 12 files changed: 107 ins; 21 del; 21 mod
8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops
Reviewed-by: ccheung, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/21647
More information about the shenandoah-dev
mailing list