[lworld] RFR: 8377791: [lworld] Assert in java_lang_Class::restore_archived_mirror [v2]
Matias Saavedra Silva
matsaave at openjdk.org
Fri Feb 13 16:15:56 UTC 2026
On Fri, 13 Feb 2026 08:51:46 GMT, Paul Hübner <phubner at openjdk.org> wrote:
>> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fred comments
>
> src/hotspot/share/oops/objArrayKlass.cpp line 448:
>
>> 446: return true;
>> 447: }
>> 448: curr = curr->next_refined_array_klass();
>
> I suppose that we can't get into a situation where somebody is trying to create an array of this klass since we're still restoring, right? I'm bringing this up because we usually have to take a lock before iterating through the linked list, cf. `ObjArrayKlass::klass_with_properties`.
Loading of the CDS archive happens very early on in the VM so this shouldn't be an issue here
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/2095#discussion_r2804964093
More information about the valhalla-dev
mailing list