RFR: 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes [v4]
Ioi Lam
iklam at openjdk.java.net
Wed Dec 2 05:36:01 UTC 2020
On Wed, 2 Dec 2020 01:12:17 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)
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>
> 1. Update comment block in LambdaEagerInitTest.java
> 2. Add more test cases using the default CDS archive in LambdaEagerInit.java
Marked as reviewed by iklam (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1542
More information about the core-libs-dev
mailing list