No problem with this change.  +1.

> On Apr 12, 2016, at 8:38 AM, Claes Redestad <claes.redes...@oracle.com> wrote:
> 
> Hi,
> 
> the first usage of limited doPrivileged appears to have a small startup 
> penalty (loads 8 permission-related classes and does some reflection), and is 
> arguably excessive for this particular instance. Unrestricted doPrivileged 
> allows for a small reduction of lambda init cost.
> 
> Webrev: http://cr.openjdk.java.net/~redestad/8154067/webrev.01/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8154067
> 
> Thanks!
> 
> /Claes

Reply via email to