JDK 9 RFR of JDK-8156002: java/nio/channels/SocketChannel/AdaptSocket.java Fails in Mesos on OSX

Hamlin Li huaming.li at oracle.com
Fri May 6 06:58:55 UTC 2016


Please review the patch for 
java/nio/channels/SocketChannel/AdaptSocket.java Fails in Mesos on OSX.

Root Cause: it's kind of race condition due to linger time and timeout 
time. Even though timeout(10ms) is far less than linger time(100ms), but 
in some condition the linger time is still not long enough.
Suggested Fix: create a NoResponseServer which will accept connection 
but never response to any input.

bug: https://bugs.openjdk.java.net/browse/JDK-8156002
webrev: http://cr.openjdk.java.net/~mli/8156002/webrev.01/

Thank you
-Hamlin


More information about the nio-dev mailing list