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

Andrew Dinn adinn at openjdk.org
Thu Aug 7 13:57:50 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.

Andrew Dinn has updated the pull request incrementally with one additional commit since the last revision:

  propagate BufferBlob subclass sizes up constructor chain

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26532/files
  - new: https://git.openjdk.org/jdk/pull/26532/files/ad4a1a27..a7925825

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26532&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26532&range=01-02

  Stats: 7 lines in 2 files changed: 0 ins; 0 del; 7 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