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

Andrew Dinn adinn at openjdk.org
Tue Jul 29 13:28:15 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8364269
 - simplify code cache API by storing adapter entry offsets in blob

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

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

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

  Stats: 35069 lines in 964 files changed: 19845 ins; 10641 del; 4583 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