[10] RFR: 8186930: Constant fold URI constants
Claes Redestad
claes.redestad at oracle.com
Tue Aug 29 20:26:04 UTC 2017
Hi,
please review this patch to pre-calculate constants in java.net.URI and
sun.net.www.ParseUtil, removing work from runtime (reduces bytecodes
executed in the interpreter on bootstrap by ~15K).
This also removes use of BitSet from ParseUtil, which apart from being a
startup improvement also yields a small throughput improvement (~5%).
Webrev: http://cr.openjdk.java.net/~redestad/8186930/jdk.00/
Thanks!
/Claes
More information about the net-dev
mailing list