RFR: 8275318: loaded_classes_do may see ArrayKlass before InstanceKlass is loaded [v2]
Calvin Cheung
ccheung at openjdk.java.net
Fri Jan 14 18:00:32 UTC 2022
On Fri, 14 Jan 2022 05:55:04 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> 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
LGTM
-------------
Marked as reviewed by ccheung (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7069
More information about the hotspot-runtime-dev
mailing list