RFR: 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive [v9]

Yumin Qi minqi at openjdk.java.net
Tue Oct 6 00:45:53 UTC 2020


> This patch is reorganized after 8252725, which is separated from this patch to refactor jlink glugin code. The previous
> webrev with hg can be found at: http://cr.openjdk.java.net/~minqi/2020/8247536/webrev-05. With 8252725 integrated, the
> regeneration of holder classes is simply to call the new added GenerateJLIClassesHelper.cdsGenerateHolderClasses
> function.  Tests: tier1-4

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Moved and renamed cdsGenerateHolderClasses from GenerateJLIClassesHelp to CDS as generateLambdaFormHolderClasses. Added
  input verification function in CDS before class generation. Added more test scenarios. Removed trailing unused ending
  words for output of lambda form trace line in case of DumpLoadedClassList.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/193/files
  - new: https://git.openjdk.java.net/jdk/pull/193/files/125112b3..52764a6e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=193&range=08
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=193&range=07-08

  Stats: 290 lines in 10 files changed: 143 ins; 100 del; 47 mod
  Patch: https://git.openjdk.java.net/jdk/pull/193.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/193/head:pull/193

PR: https://git.openjdk.java.net/jdk/pull/193



More information about the build-dev mailing list