RFR: 8372617: Save and restore stubgen stubs when using an AOT code cache [v5]
Andrew Dinn
adinn at openjdk.org
Wed Jan 28 14:09:00 UTC 2026
> This PR adds save and restore of all generated stubs to the AOT code cache on x86 and aarch64. Other arches are modified to deal with the related generic PAI changes.
>
> Small changes were required to the aarch64 and x86_64 generator code in order to meet two key constraints:
> 1. the first declared entry of every stub starts at the first instruction in the stub code range
> 2. all data/code cross-references from one stub to another target a declared stub entry
Andrew Dinn has updated the pull request incrementally with one additional commit since the last revision:
added missing GC external addresses and speeded up address to id lookup
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28433/files
- new: https://git.openjdk.org/jdk/pull/28433/files/83855bef..d063ddf3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28433&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28433&range=03-04
Stats: 213 lines in 5 files changed: 73 ins; 0 del; 140 mod
Patch: https://git.openjdk.org/jdk/pull/28433.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28433/head:pull/28433
PR: https://git.openjdk.org/jdk/pull/28433
More information about the hotspot-dev
mailing list