RFR: 8354558: -XX:AOTMode=record crashes with boot loader package-info class [v3]
Ioi Lam
iklam at openjdk.org
Wed Apr 23 20:29:52 UTC 2025
> When a package is loaded from `-Xbootclasspath/a:`, its `package-info` class is loaded by a special loader of the type `jdk/internal/loader/ClassLoaders$BootClassLoader`. The AOT cache doesn't handle such loaders, so we should just drop such classes from the cache.
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 three additional commits since the last revision:
- Merge branch 'master' into 8354558-aotmode-create-crashes-with-generated-package-info-class
- @calvinccheung comments
- 8354558: -XX:AOTMode=record crashes with boot loader package-info class
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24710/files
- new: https://git.openjdk.org/jdk/pull/24710/files/e76f4b55..12298707
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24710&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24710&range=01-02
Stats: 36215 lines in 957 files changed: 28682 ins; 5521 del; 2012 mod
Patch: https://git.openjdk.org/jdk/pull/24710.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24710/head:pull/24710
PR: https://git.openjdk.org/jdk/pull/24710
More information about the hotspot-dev
mailing list