RFR: 8354887: Preserve runtime blobs in AOT code cache

Vladimir Kozlov kvn at openjdk.org
Mon May 5 15:35:46 UTC 2025


On Sat, 3 May 2025 04:10:01 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

> [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`.

Yes, please do that in `decode_klass_not_null()`.
We update other methods for nmethod caching in JDK 26.

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

PR Comment: https://git.openjdk.org/jdk/pull/25019#issuecomment-2851382631


More information about the hotspot-runtime-dev mailing list