On Fri, 25 Oct 2024 18:39:23 GMT, Patricio Chilano Mateo <pchilanom...@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