[lilliput-jdk21u:lilliput] RFR: 8340906: [Lilliput/JDK21] Fix CDS related issues

Aleksey Shipilev shade at openjdk.org
Wed Sep 25 14:20:14 UTC 2024


On Wed, 25 Sep 2024 11:48:48 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> This backports some CDS related fixes and improvements:
> - Build machinery to build _coh CDS archives, those are generated with +UCOH and are selected by default when running with +UCOH. This is similar to how we create and use _nocoops archives.
> - Some adjustments in tests to deal with the _coh CDS archive (including some reversals of earlier changes which are no longer necessary).
> - A bugfix in the ArchiveHeapWriter which would sometimes write invalid narrowKlass with +UCOH.
> 
> The change reflects what is proposed in https://github.com/openjdk/jdk/pull/20677
> 
> Testing:
> Together with #35, this makes all tier1-4 pass with +UCOH and with -UCOH.

Marked as reviewed by shade (Committer).

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

PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/36#pullrequestreview-2328419515


More information about the lilliput-dev mailing list