RFR: 8224589: Improve startup behavior of SecurityProperties

Alan Bateman Alan.Bateman at oracle.com
Wed May 22 10:19:44 UTC 2019



On 22/05/2019 11:14, Claes Redestad wrote:
> Hi,
>
> some recent security features have been pushing initialization of
> sun.security.util.SecurityProperties to happen earlier in the
> bootstrap sequence, which is affecting startup timings on a few
> targetted applications.
>
> This patch helps by desugaring potentially early bootstrap lambda use,
> and further keep the impact more neutral in cases where no 
> SecurityManager is installed.
>
> Webrev: http://cr.openjdk.java.net/~redestad/8224589/open.00/
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8224589
Looks okay although I assume it doesn't matter for the no-SM case.

-Alan



More information about the security-dev mailing list