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

Claes Redestad claes.redestad at oracle.com
Tue Mar 29 16:26:18 UTC 2016


Thanks Vladimir!

/Claes

On 2016-03-29 18:27, Vladimir Ivanov wrote:
> 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