[master] RFR: 8318011: [Lilliput] Fix CDS narrowKlass encoding

Aleksey Shipilev shade at openjdk.org
Thu Oct 12 15:27:57 UTC 2023


On Thu, 12 Oct 2023 12:44:36 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> With Lilliput, we need to store the correct narrowKlass in the archived Klass instances. For this, we need the ArchiveHeapWriter::precomputed_narrow_klass_shift. However, ArchiveHeapWriter is only available when building with INCLUDE_CDS_JAVA_HEAP, i.e. currently not with Windows. This field should be moved to ArchiveBuilder, so that we can access it even when INCLUDE_CDS_JAVA_HEAP is not enabled.

Marked as reviewed by shade (Committer).

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

PR Review: https://git.openjdk.org/lilliput/pull/112#pullrequestreview-1674470254


More information about the lilliput-dev mailing list