8198562: (ch) Separate blocking and non-blocking code paths (part 1)

Brian Burkhalter brian.burkhalter at oracle.com
Wed Feb 28 21:29:16 UTC 2018


On Feb 28, 2018, at 11:34 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> To fix this then we need to go back to setting the interrupt status whilst holding the blockerLock. This means it works the same as JDK 1.4-10 except that it handles the case where attempts its own interrupt status whilst in a blocking I/O (a source of potential deadlocks as we know from other discussions here).
> 
> http://cr.openjdk.java.net/~alanb/8198841/webrev/index.html

A webrev for Thread.java only versus the revision prior to the 8198562 changeset makes the overall change clearer:

http://cr.openjdk.java.net/~bpb/thread-8198841/webrev/

To me this change looks good.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180228/22daf26e/attachment.html>


More information about the nio-dev mailing list