RFR: 8353298: AOT cache creation asserts with _array_klasses in an unregistered InstanceKlass [v2]
Ioi Lam
iklam at openjdk.org
Fri Apr 18 19:09:40 UTC 2025
> The assert in `Klass::remove_java_mirror()` is too narrow. When creating the AOT cache, it's possible to see two types of Klasses that do not have a Java mirror:
>
> - Unregistered classes (a cached class to be loaded by a custom class loader in the production run)
> - An array type of an unregistered class
>
> I have relaxed the assert to accept both conditions
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
Added comments about the purpose of AOTCacheSupportForCustomLoaders.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24711/files
- new: https://git.openjdk.org/jdk/pull/24711/files/79c81bc0..dc58250d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24711&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24711&range=00-01
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24711.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24711/head:pull/24711
PR: https://git.openjdk.org/jdk/pull/24711
More information about the hotspot-dev
mailing list