RFR: 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
Claes Redestad
redestad at openjdk.java.net
Tue Dec 1 20:52:54 UTC 2020
On Tue, 1 Dec 2020 19:30:45 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this change which includes:
>
> - If the `jdk.internal.lambda.disableEagerInitialization`property is enabled, the `InnerClassLambdaMetafactory` will not involve CDS to archive lambda proxy classes or to find them from an archive.
>
> - Not passing the `initialize` (same as `!disableEagerInitialization`) to `LambdaProxyClassArchive.find` and eventually to the `JVM_LookupLambdaProxyClassFromArchive` function.
>
> Testing:
>
> - [x] all cds/appcds tests locally on linux-x64
>
> - [x] tiers 1 - 4 (in progress)
Looks good to me!
-------------
Marked as reviewed by redestad (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/1542
More information about the core-libs-dev
mailing list