RFR: 8354887: Preserve runtime blobs in AOT code cache [v4]
Vladimir Kozlov
kvn at openjdk.org
Mon May 12 23:04:54 UTC 2025
On Mon, 12 May 2025 20:10:13 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`.
>
> Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision:
>
> - Remove more unused code
>
> Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
> - Fix whitespace issue. Remove unused code.
>
> Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java line 48:
> 46: import jdk.test.lib.process.OutputAnalyzer;
> 47:
> 48: public class AOTCodeCompressedOopsTest {
Ioi also suggested test example which I attached to RFE in JBS.
Looks like your test is very similar and more.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25019#discussion_r2085648044
More information about the hotspot-runtime-dev
mailing list