RFR: 8255493: Support for pre-generated java.lang.invoke classes in CDS dynamic archive [v3]

Yumin Qi minqi at openjdk.java.net
Tue Apr 27 04:14:05 UTC 2021


> Hi, Please review
> 
>   When do dynamic dump, the pre-generated lambda form classes from java.lang.invoke are not stored in dynamic archive. The patch will regenerate the four holder classes, 
>      "java.lang.invoke.Invokers$Holder",
>      "java.lang.invoke.DirectMethodHandle$Holder",
>      "java.lang.invoke.DelegatingMethodHandle$Holder",
>      "java.lang.invoke.LambdaForm$Holder"
>   which will include the versions in static archive and new loaded functions all together and stored in dynamic archive. New test case added.
>   (Minor change to PrintSharedArchiveAtExit, which the index is not consecutive)
> 
>   Tests: tier1,tier2,tier3,tier4
>   
>   Thanks
>   Yumin

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

  Move read static invoker lines to LambdaFormInokers, remove unneeded check for return  NULL

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3611/files
  - new: https://git.openjdk.java.net/jdk/pull/3611/files/e437c902..9b5aa513

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

  Stats: 32 lines in 3 files changed: 11 ins; 18 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3611.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3611/head:pull/3611

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


More information about the hotspot-dev mailing list