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

Andrew Dinn adinn at openjdk.org
Tue Jul 29 12:21:07 UTC 2025


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.

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

Commit messages:
 - simplify code cache API by storing adapter entry offsets in blob

Changes: https://git.openjdk.org/jdk/pull/26532/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26532&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364269
  Stats: 95 lines in 5 files changed: 30 ins; 42 del; 23 mod
  Patch: https://git.openjdk.org/jdk/pull/26532.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26532/head:pull/26532

PR: https://git.openjdk.org/jdk/pull/26532


More information about the hotspot-dev mailing list