RFR: 8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes [v3]

Calvin Cheung ccheung at openjdk.java.net
Tue Dec 1 23:16:13 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)

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  1. Make a copy of LambdaEagerInitTest.java to the test-classes dir
  2. Modifications to LambdaEagerInit.java per review comments

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1542/files
  - new: https://git.openjdk.java.net/jdk/pull/1542/files/880407c1..edd4a094

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1542&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1542&range=01-02

  Stats: 24 lines in 2 files changed: 11 ins; 2 del; 11 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