RFR: 8294058: Early use of lambda introduced in JDK-8285263 cause startup regressions in 20-b02
Claes Redestad
redestad at openjdk.org
Tue Sep 20 14:50:46 UTC 2022
On Tue, 20 Sep 2022 11:19:07 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> [JDK-8285263](https://bugs.openjdk.org/browse/JDK-8285263) innocuously rewrote an anonymous class in `SecureClassLoader.getProtectionDomain` to a (capturing) lambda. Since this is called during early bootstrap this shows up as a regression across the board on all our startup and footprint tests.
>
> Restoring the anonymous class drops no. of classes loaded on a Hello World test from 493 to 448 (macosx).
Thanks for reviewing, Sean!
-------------
PR: https://git.openjdk.org/jdk/pull/10357
More information about the security-dev
mailing list