RFR: 8338383: Implementation of Synchronize Virtual Threads without Pinning [v2]
    Patricio Chilano Mateo 
    pchilanomate at openjdk.org
       
    Mon Oct 21 15:49:21 UTC 2024
    
    
  
On Fri, 18 Oct 2024 04:21:57 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> src/hotspot/share/runtime/javaThread.hpp line 165:
>> 
>>> 163:   // ID used as owner for inflated monitors. Same as the j.l.Thread.tid of the
>>> 164:   // current _vthread object, except during creation of the primordial and JNI
>>> 165:   // attached thread cases where this field can have a temporal value.
>> 
>> Suggestion:
>> 
>>   // attached thread cases where this field can have a temporary value.
>> 
>> Presumably this is for when the attaching thread is executing the Thread constructor?
>
> Exactly.
Comment adjusted.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1809072960
    
    
More information about the graal-dev
mailing list