RFR: 8152951: Avoid calculating the reverse of StringConcatFactory$Recipe elements

Claes Redestad claes.redestad at oracle.com
Tue Mar 29 11:47:02 UTC 2016


Hi,

the reverse of Recipe.elements is calculated eagerly but only used once 
and only by
some strategies. Removing this might also help a bit with footprint if 
run with caching
enabled.

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

Thanks!

/Claes



More information about the core-libs-dev mailing list