RFR: 8202419: Avoid creating Permission constants early

Claes Redestad claes.redestad at oracle.com
Mon Apr 30 12:25:03 UTC 2018


Hi,

moving a couple of local permission constants to 
sun.security.util.SecurityConstants ensures we delay and avoid loading 
permission classes very early during bootstrap. Delaying load is 
profitable since it's happening early enough (before System.initPhase1) 
to contribute to delaying the initialization of VM subsystems.

Webrev: http://cr.openjdk.java.net/~redestad/8202419/open.00/

Thanks!

/Claes



More information about the security-dev mailing list