RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v9]
    Patricio Chilano Mateo 
    pchilanomate at openjdk.org
       
    Fri Oct 25 18:50:22 UTC 2024
    
    
  
On Fri, 25 Oct 2024 18:39:23 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> src/hotspot/share/classfile/javaClasses.cpp line 2082:
>> 
>>> 2080: }
>>> 2081: 
>>> 2082: bool java_lang_VirtualThread::set_onWaitingList(oop vthread, OopHandle& list_head) {
>> 
>> Some comments here about the operation would be useful. The "waiting list" here is just a list of virtual threads that need unparking by the Unblocker thread - right?
>> 
>> I'm struggling to understand how a thread can already be on this list?
>
>> The "waiting list" here is just a list of virtual threads that need unparking by the Unblocker thread - right?
>>
> Yes.
> Some comments here about the operation would be useful.
>
Added a comment.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1817193493
    
    
More information about the graal-dev
mailing list