On Fri, 13 Feb 2026 08:51:46 GMT, Paul Hübner <[email protected]> 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

Reply via email to