RFR: 8351319: AOT cache support for custom class loaders broken since JDK-8348426 [v7]
Ioi Lam
iklam at openjdk.org
Wed Apr 9 15:46:16 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23926/files
- new: https://git.openjdk.org/jdk/pull/23926/files/17dcf9c0..a2723bfb
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23926&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23926&range=05-06
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23926.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23926/head:pull/23926
PR: https://git.openjdk.org/jdk/pull/23926
More information about the hotspot-dev
mailing list