RFR: 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
Calvin Cheung
ccheung at openjdk.java.net
Tue Dec 1 19:38:01 UTC 2020
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)
-------------
Commit messages:
- 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
Changes: https://git.openjdk.java.net/jdk/pull/1542/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1542&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8257241
Stats: 52 lines in 7 files changed: 2 ins; 11 del; 39 mod
Patch: https://git.openjdk.java.net/jdk/pull/1542.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1542/head:pull/1542
PR: https://git.openjdk.java.net/jdk/pull/1542
More information about the core-libs-dev
mailing list