JDK 9 RFR of 8175209: Account for race condition in java/nio/channels/AsynchronousSocketChannel/Basic.java
Alan Bateman
Alan.Bateman at oracle.com
Wed Mar 8 19:14:10 UTC 2017
On 06/03/2017 21:11, Brian Burkhalter wrote:
> On Mar 6, 2017, at 12:54 PM, Brian Burkhalter
> <brian.burkhalter at oracle.com <mailto: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/
> <http://cr.openjdk.java.net/%7Ebpb/8175209/webrev.03/>
>
> Shall assume this is OK unless I hear otherwise.
>
Yes, go ahead.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170308/a87e0d16/attachment.html>
More information about the nio-dev
mailing list