RFR: 8351319: AOT cache support for custom class loaders broken since JDK-8348426 [v7]
Calvin Cheung
ccheung at openjdk.org
Wed Apr 9 16:51:25 UTC 2025
On Wed, 9 Apr 2025 15:46:16 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Since [JDK-8348426](https://bugs.openjdk.org/browse/JDK-8348426) (Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file), the AOT cache no longer contains classes intended for custom class loaders (these are called "unregistered classes" in CDS terminology).
>>
>> The fix is simple -- we already remember the set of unregistered classes in the AOT configuration file. We just need to add them into the final AOT cache (see changes in finalImageRecipes.cpp).
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>
> Fixed merge
Updates look good.
-------------
Marked as reviewed by ccheung (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23926#pullrequestreview-2754131919
More information about the hotspot-dev
mailing list