Patch for adding SO_REUSEPORT socket option

Lu, Yingqi yingqi.lu at intel.com
Sat Nov 21 02:08:48 UTC 2015


Hi Alan,

Please let me know if there is anything we can do at the meantime to help. We are more than happy to help.

Thanks,
Lucy

From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
Sent: Friday, November 20, 2015 2:53 PM
To: Lu, Yingqi <yingqi.lu at intel.com>; Kharbas, Kishor <kishor.kharbas at intel.com>; net-dev at openjdk.java.net; Michael McMahon <michael.x.mcmahon at oracle.com>
Subject: Re: Patch for adding SO_REUSEPORT socket option


On 20/11/2015 20:59, Lu, Yingqi wrote:
Hello All,

We added Version 3 of the patch here. http://cr.openjdk.java.net/~mcberg/jdk/6432031/webrev.03/<http://cr.openjdk.java.net/%7Emcberg/jdk/6432031/webrev.03/>

It has the exact same implementation as Version 1 which implements SO_REUSEPORT as the standard socket option. The only difference in Version 3 is that we added 1 test file for testing set/get reuseport. The file is located at ./jdk/test/java/net/Socket/setReusePort/Basic.java

The spec is going to need work if this is a standard option. I think we'll need to re-word some of the current javadoc for StandardSocketOptions.SO_REUSEPORT, in particular the references to the Linux 3.9+ and the links to lwn.net. Once we get that worded then it can be referenced from the java.net classes and should avoid some of the duplicate wording.

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20151121/95920a48/attachment-0001.html>


More information about the net-dev mailing list