Integrated: 8351319: AOT cache support for custom class loaders broken since JDK-8348426
Ioi Lam
iklam at openjdk.org
Wed Apr 9 21:00:45 UTC 2025
On Thu, 6 Mar 2025 04:09:22 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).
This pull request has now been integrated.
Changeset: e3f26b05
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e3f26b056e6b8403e6744b8a4cf59ccf4d217d89
Stats: 185 lines in 13 files changed: 151 ins; 0 del; 34 mod
8351319: AOT cache support for custom class loaders broken since JDK-8348426
Reviewed-by: ccheung, matsaave, jrose
-------------
PR: https://git.openjdk.org/jdk/pull/23926
More information about the hotspot-dev
mailing list