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

Yumin Qi minqi at openjdk.java.net
Mon Sep 28 17:36:52 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 with a new target base due to a merge or a rebase. The pull request now contains
16 commits:

 - In case of exception happens during reloading class, CHECK will return without free the allocated buffer for class
   bytes so moved the buffer allocation and freeing to caller. Also removed test 6 since there is not guarantee that we
   can give a signature which will always fail. Additional changes to GenerateJLIClassesHelper according to review
   suggestion.
 - Merge branch 'master' of https://github.com/openjdk/jdk into jdk-8247536
 - Merge branch 'master' of https://git.openjdk.java.net/jdk into jdk-8247536
 - 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
 - 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
 - 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
 - Merge branch 'master' into jdk-8247536
 - Merge branch 'master' of https://github.com/openjdk/jdk
 - Merge branch 'master' of https://github.com/openjdk/jdk
 - 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
 - ... and 6 more: https://git.openjdk.java.net/jdk/compare/1ae6b533...9ab52116

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

Changes: https://git.openjdk.java.net/jdk/pull/193/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=193&range=05
  Stats: 457 lines in 21 files changed: 433 ins; 13 del; 11 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 core-libs-dev mailing list