RFR: 8351319: AOT cache support for custom class loaders broken since JDK-8348426 [v2]
Ioi Lam
iklam at openjdk.org
Fri Mar 14 01:53:38 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'master' into 8351319-support-for-custom-loaders-missing-since-jdk-8348426
- 8351319: AOT cache support for custom class loaders broken since JDK-8348426
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23926/files
- new: https://git.openjdk.org/jdk/pull/23926/files/2cdb5f80..41ae5507
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23926&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23926&range=00-01
Stats: 48120 lines in 865 files changed: 23786 ins; 15583 del; 8751 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