Integrated: 8354887: Preserve runtime blobs in AOT code cache

Ashutosh Mehra asmehra at openjdk.org
Thu May 15 17:22:05 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`.

This pull request has now been integrated.

Changeset: c59debb3
Author:    Ashutosh Mehra <asmehra at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c59debb3844d009ac501a48c31822a07f00521e9
Stats:     1360 lines in 31 files changed: 1100 ins; 125 del; 135 mod

8354887: Preserve runtime blobs in AOT code cache

Co-authored-by: Andrew Dinn <adinn at openjdk.org>
Reviewed-by: kvn, adinn

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

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


More information about the hotspot-runtime-dev mailing list