RFR: 8354887: Preserve runtime blobs in AOT code cache
Vladimir Kozlov
kvn at openjdk.org
Mon May 5 15:55:48 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`.
I think `reinit_heapbase()` is used after JNI calls to put it back into register for compiled code. I don't think
For debugging your changes you can add print Into `reinit_heapbase()` using UseNewCode flag and set the flag in `compiler_stubs_init()`
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25019#issuecomment-2851441182
More information about the hotspot-runtime-dev
mailing list