On Thu, 8 May 2025 21:59:18 GMT, David Holmes <dhol...@openjdk.org> wrote:

> > we don’t change the state to Thread.State.WAITING when using ObjectLocker 
> > and calling wait_uninterruptibly().
> 
> No, because that is an internal implementation detail. It is a grey area. 
> There is no such thing as an uninterruptible-wait in the Java language, so if 
> we marked the thread as waiting and yet it failed to stop waiting if 
> interrupted, then that would appear to be a bug.
>
I see, thanks for the clarification David.

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

PR Comment: https://git.openjdk.org/jdk/pull/25119#issuecomment-2866895215

Reply via email to