RFR: 8364269: Simplify code cache API by storing adapter entry offsets in blob

Andrew Dinn adinn at openjdk.org
Tue Jul 29 13:03:54 UTC 2025


On Tue, 29 Jul 2025 12:15:48 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> The AOT stub blob save and restore API handles Adapter blobs differently to other single-stub blobs by passing the associated entries in a separate auxiliary array. Storing the entry offsets in the blob, as happens with other generated blobs, simplifies the current save/restore API and implementation. It also makes it easier to define and implement an API extension supporting save and restore of multi-stub (StubGen) blobs.

Testing: tier1 + runtime/cds/appcds

@ashu-mehra @vnkozlov could you review this cleanup?

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

PR Comment: https://git.openjdk.org/jdk/pull/26532#issuecomment-3132435041
PR Comment: https://git.openjdk.org/jdk/pull/26532#issuecomment-3132437030


More information about the hotspot-dev mailing list