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

Yumin Qi minqi at openjdk.java.net
Fri Oct 9 19:08:27 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:

  Changed isValidInputLines to validateInputLines and throw IAE upon wrong inputs. Fixed missed archive_mirror issue
  which could lead crash for archived heap iteration. After call generateLambdaFormHolderClasses, should check exception
  first. Added more comments why print out exception message and stacktrace in CDS.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/193/files
  - new: https://git.openjdk.java.net/jdk/pull/193/files/f163fe4c..16362e15

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

  Stats: 37 lines in 4 files changed: 7 ins; 15 del; 15 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