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