Review request for bug 8015762: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java fails intermittently
Alan Bateman
Alan.Bateman at oracle.com
Wed Sep 18 01:51:05 PDT 2013
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.
More information about the nio-dev
mailing list