JDK 9 RFR of 8175209: Account for race condition in java/nio/channels/AsynchronousSocketChannel/Basic.java

Brian Burkhalter brian.burkhalter at oracle.com
Mon Mar 6 21:11:37 UTC 2017


On Mar 6, 2017, at 12:54 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

>> Looks fine. The use of the random library in the previous version was okay too although I'm pretty sure the issue is the sleep and your changes should significantly reduce the possibility of this.
> 
> OK I think I’ll leave this as-is for now.

Actually I somehow have a mix up with my patches so I’ll keep the random factory in there but remove the multiple concurrent writes:

http://cr.openjdk.java.net/~bpb/8175209/webrev.03/

Shall assume this is OK unless I hear otherwise.

Thanks,

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


More information about the nio-dev mailing list