On Tue, 20 Sep 2022 11:19:07 GMT, Claes Redestad <[email protected]> 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).

This pull request has now been integrated.

Changeset: 584de68d
Author:    Claes Redestad <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/584de68d7888b709b2eaa251541cd9fdcef3b244
Stats:     15 lines in 1 file changed: 6 ins; 1 del; 8 mod

8294058: Early use of lambda introduced in JDK-8285263 cause startup 
regressions in 20-b02

Reviewed-by: mullan

-------------

PR: https://git.openjdk.org/jdk/pull/10357

Reply via email to