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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Mar 29 16:27:18 UTC 2016


Reviewed.

Best regards,
Vladimir Ivanov

On 3/29/16 2:47 PM, Claes Redestad wrote:
> 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