RFR: 8354887: Preserve runtime blobs in AOT code cache [v5]

Ashutosh Mehra asmehra at openjdk.org
Tue May 13 16:27:17 UTC 2025


> [8350209](https://bugs.openjdk.org/browse/JDK-8350209) introduced the framework for storing code in aot code cache and used it for caching i2c/c2i adapters.
> This PR extends the `AOTCodeCache` infrastructure and stores various runtime blobs (shared blobs, C1 and C2 runtime blobs) in the AOT code cache. It adds a new diagnostic flag `AOTStubCaching` to enable/disable the caching of these blobs.
> `AOTCodeFlags.java` test is extended to cover `AOTStubCaching`.

Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:

  Update test to make it more resilient
  
  Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25019/files
  - new: https://git.openjdk.org/jdk/pull/25019/files/98e5fa07..c7341cde

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25019&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25019&range=03-04

  Stats: 53 lines in 1 file changed: 48 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/25019.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25019/head:pull/25019

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


More information about the hotspot-runtime-dev mailing list