On Wed, 6 Mar 2024 09:34:40 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

>> src/hotspot/share/runtime/javaThread.cpp line 573:
>> 
>>> 571: 
>>> 572:   Handle thread_h(current, vthread_or_thread());
>>> 573:   ObjectLocker lock(Handle(current, 
>>> java_lang_Thread::interrupt_lock(thread_h())), current);
>> 
>> For this version then I assume you should limit it when its a virtual thread 
>> and when clear_interrupted is true.
>> 
>> Also need to think through if Object.wait will need to be changed as part of 
>> this.
>
> Thanks, I'm already working on it.

Fixed as suggested by Alan.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18093#discussion_r1514240306

Reply via email to