RFR: 8275318: loaded_classes_do may see ArrayKlass before InstanceKlass is loaded [v2]
Ioi Lam
iklam at openjdk.java.net
Fri Jan 14 05:55:04 UTC 2022
> When a shared class K is restored, all of its archived array classes K[], K[][], etc, are also restored as well. Such restored classes are placed in the ClassLoaderData::_klasses list.
>
> For safety, ClassLoaderData::loaded_classes_do() should skip all these classes until K is marked as "loaded".
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
@coleenp review
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7069/files
- new: https://git.openjdk.java.net/jdk/pull/7069/files/e17ddbf7..328137ff
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7069&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7069&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/7069.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7069/head:pull/7069
PR: https://git.openjdk.java.net/jdk/pull/7069
More information about the hotspot-runtime-dev
mailing list