RFR: 8227720: Improve ExtendedSocketOptions initialization

Claes Redestad claes.redestad at oracle.com
Tue Jul 16 14:06:27 UTC 2019


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/

Testing: tier1-3

Thanks!

/Claes


More information about the net-dev mailing list