RFR: 8146686: Create the schemeSpecificPart for non-opaque URIs lazily

Claes Redestad claes.redestad at oracle.com
Fri Jan 8 14:41:17 UTC 2016


Hi,

please review this patch to lazily create schemeSpecificPart for 
non-opaque URIs. This change accounts for some improvement in footprint 
characteristics and a 10-20% improvement on URI creation 
microbenchmarks, while not regressing notably on a targetted 
microbenchmark which explicitly generate and retrieve the 
schemeSpecificPart.

Bug: https://bugs.openjdk.java.net/browse/JDK-8146686
Webrev: http://cr.openjdk.java.net/~redestad/8146686/webrev.01/

Thanks!

/Claes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20160108/61ebc4f0/attachment.html>


More information about the net-dev mailing list