RFR: 8275084: CDS warning during incremental build

Yumin Qi minqi at openjdk.java.net
Mon Oct 18 22:27:02 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



Commit messages:
 - 8275084: CDS warning during incremental build

Changes: https://git.openjdk.java.net/jdk/pull/5998/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5998&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8275084
  Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 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