Patch for adding SO_REUSEPORT socket option
Alan Bateman
Alan.Bateman at oracle.com
Thu Jan 7 17:55:33 UTC 2016
On 07/01/2016 16:41, Lu, Yingqi wrote:
> Hi Alan,
>
> In AbstractPlainSocketImpl, I am using the existing/default initializer so that there is only 1 initializer. However, it does not execute. That is the issue I am seeing.
>
> Any suggestion on the issue?
>
Are you 100% sure that your updated AbstractPlainSocketImpl is included
in the build? I just did a quick check to add Thread.dumpStack() into
that initializer and I see it running when creating a Socket or
ServerSocket. I believe each of the platform implementations extend
AbstractPlainSocketImpl so you should see it running on all platforms.
-Alan
More information about the net-dev
mailing list