RFR(S): 8055032: Improve numerical parsing in java.net and sun.net

Claes Redestad claes.redestad at oracle.com
Wed Aug 13 14:02:29 UTC 2014


Hi,

can I have a review for this patch to take advantage of offset-based 
parseInt methods added in
8041972 for java.net/sun.net classes?

bug: https://bugs.openjdk.java.net/browse/JDK-8055032
webrev: http://cr.openjdk.java.net/~redestad/8055032/webrev.0

This causes fewer temporary String objects to be allocated and shows a 
direct throughput improvement
in micros (1.2x in java.net.URLDecoder#decode and 
sun.net.www.ParseUtil#decode, for example)

/Claes


More information about the net-dev mailing list