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

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

  added a test

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

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

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

  Stats: 88 lines in 1 file changed: 88 ins; 0 del; 0 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