Review request for bug 8015762: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java fails intermittently

Eric Wang yiming.wang at oracle.com
Sun Sep 22 03:21:26 PDT 2013


On 2013/9/18 16:51, Alan Bateman wrote:
> On 18/09/2013 09:14, Eric Wang wrote:
>> Hi Chris,
>>
>> Yes, It looks a bit odd, i tried to cut down thread number of 
>> UdpEchoRequest to make response sent before socket timeout.
>> Essentially, it is a timing issue. so the new fix below is to update 
>> change to SO_TIMEOUT value from 5 seconds to 15. I have tested on 
>> jsn-vm49.us for 20000 times and all passed.
>> http://cr.openjdk.java.net/~ewang/8015762/webrev.02/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java.sdiff.html 
>> <http://cr.openjdk.java.net/%7Eewang/8015762/webrev.02/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java.sdiff.html> 
>>
>>
>>
> I'm okay with this too.
>
> -Alan.
>
Thanks Alan, Are you also OK to be my sponsor?

Regards,
Eric


More information about the nio-dev mailing list