RFR: 8275084: CDS warning during incremental build [v3]

Yumin Qi minqi at openjdk.java.net
Wed Oct 20 19:20:28 UTC 2021

> Hi, Please review
>   The generated SPECIES functions archived during dumping CDS archive. But some time rebuild issue warning 
>   [2.325s][warning][cds] java.lang.ClassNotFoundException: java.lang.invoke.BoundMethodHandle$Species_LLLLL
>   Since we only care archiving functions generated in the four holder classes:
>   java.lang.invoke.Invokers$Holder, java.lang.invoke.LambdaForm$Holder, java.lang.invoke.DirectMethodHandle$Holder and java.lang.invoke.DelegatingMethodHandle$Holder
>   This patch removed the logging thus the archiving of SPECIES_RESOLVED functions in shared archive.
> Tests: tier1,tier4
> Thanks
> Yumin

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

  Keep SPECIES_REOLVE classes shared, but filtered them out as regular classes in DumpLoadedClassList


  - all: https://git.openjdk.java.net/jdk/pull/5998/files
  - new: https://git.openjdk.java.net/jdk/pull/5998/files/57316d9d..e70705f0

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

  Stats: 8 lines in 2 files changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5998.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5998/head:pull/5998

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

More information about the hotspot-runtime-dev mailing list