RFR: 8338530: CDS warning Skipping java/lang/invoke/BoundMethodHandle$Species_LLLL

Matias Saavedra Silva matsaave at openjdk.org
Tue Sep 3 20:12:31 UTC 2024


Since [JDK-8336856](https://bugs.openjdk.org/browse/JDK-8336856), `java -Xshare:dump` reports a warning where a dynamically generated class, java/lang/invoke/BoundMethodHandle$Species_LLLL, is excluded. This patch silently excludes the class as it cannot be archived. Verified with tier x-y tests

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

Commit messages:
 - Removed assert change
 - Cleanup
 - Reverted test
 - Removed leftover prototyping code
 - Silently exclude class
 - Merge branch 'master' into cds_warning_8338530
 - Merge branch 'master' into cds_warning_8338530
 - Only checks for BoundMethodHandle
 - 8338530: CDS warning Skipping java/lang/invoke/BoundMethodHandle

Changes: https://git.openjdk.org/jdk/pull/20799/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20799&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338530
  Stats: 10 lines in 1 file changed: 7 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/20799.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20799/head:pull/20799

PR: https://git.openjdk.org/jdk/pull/20799


More information about the hotspot-dev mailing list