RFR: 8152074: Avoid lambda usage in StringConcatFactory initializer

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Mar 17 07:12:05 UTC 2016


On 17.03.2016 10:10, Claes Redestad wrote:
> On 2016-03-17 08:05, Aleksey Shipilev wrote:
>> Is there any performance benefit in keeping the single PrivilegedBlock
>> though? I.e. convert the lambda to anonymous class, and be done with it?
> 
> I haven't measured it thoroughly, but I've noticed anonymous classes
> can linger, so it looks marginally better when measuring early retained
> footprint while the startup/execution cost either way seems negligible.

Okay then!

-Aleksey





More information about the core-libs-dev mailing list