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

Roman Kennke rkennke at openjdk.org
Wed Sep 25 14:58:03 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.

This pull request has now been integrated.

Changeset: c861288b
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.org/lilliput-jdk21u/commit/c861288b3f81cf5f3f76819002ebafed36ecc83d
Stats:     78 lines in 9 files changed: 61 ins; 1 del; 16 mod

8340906: [Lilliput/JDK21] Fix CDS related issues

Reviewed-by: shade

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

PR: https://git.openjdk.org/lilliput-jdk21u/pull/36


More information about the lilliput-dev mailing list