RFR: 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops [v6]

Calvin Cheung ccheung at openjdk.org
Fri Oct 25 21:10:09 UTC 2024


On Fri, 25 Oct 2024 20:43:43 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:
> 
>  - Added @requires to ParallelGC test
>  - Merge branch 'master' into archive_uncompressed_oops_8341371
>  - Removed can_use from whitebox
>  - Added @requires
>  - Calvin comments and copyright
>  - Ioi comments
>  - Enabled uncompressed oops on Epsilon and Shenandoah
>  - Merge branch 'master' into archive_uncompressed_oops_8341371
>  - Added uncompressed oops to tests
>  - 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops

Marked as reviewed by ccheung (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21647#pullrequestreview-2396503546


More information about the shenandoah-dev mailing list