RFR: 8227720: Improve ExtendedSocketOptions initialization

Chris Hegarty chris.hegarty at oracle.com
Tue Jul 16 15:01:02 UTC 2019


Claes,

> On 16 Jul 2019, at 15:06, Claes Redestad <claes.redestad at oracle.com> wrote:
> 
> Hi,
> 
> a small cleanup and startup optimization for apps that setup and/or use
> sockets of various kinds, which pulls in ExtendedSocketOptions. By being
> slightly more eager we avoid a few potentially costly streams (featuring
> capturing lambdas) that we'd end up calling eagerly from places like
> AbstractPlainSocketImpl anyhow.
> 
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8227720
> Webrev: http://cr.openjdk.java.net/~redestad/8227720/open.00/

This looks good to me Claes. Thanks for doing it. Reviewed.

-Chris.



More information about the net-dev mailing list