On Tue, 29 Jul 2025 23:45:09 GMT, David Holmes <dhol...@openjdk.org> wrote:

> And again this issue of leaving the interrupt flag set has existed "forever".

Right, and mostly surfaced when updating JVMTI to support virtual threads.

The related issue is that JVMTI InterruptThread doesn't cause a platform thread 
to wakeup from interruptible I/O operations. It works when the target is a 
virtual thread because it's an upcall to Thread::interrupt, not so for platform 
threads.

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

PR Comment: https://git.openjdk.org/jdk/pull/26365#issuecomment-3135380028

Reply via email to