[lilliput-jdk21u:lilliput] RFR: 8340906: [Lilliput/JDK21] Fix CDS related issues
Roman Kennke
rkennke at openjdk.org
Wed Sep 25 11:54:28 UTC 2024
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.
-------------
Commit messages:
- 8340906: [Lilliput/JDK21] Fix CDS related issues
Changes: https://git.openjdk.org/lilliput-jdk21u/pull/36/files
Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=36&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8340906
Stats: 78 lines in 9 files changed: 61 ins; 1 del; 16 mod
Patch: https://git.openjdk.org/lilliput-jdk21u/pull/36.diff
Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/36/head:pull/36
PR: https://git.openjdk.org/lilliput-jdk21u/pull/36
More information about the lilliput-dev
mailing list