RFR: 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump

Calvin Cheung ccheung at openjdk.org
Thu Aug 31 22:28:33 UTC 2023


Please review this changeset for fixing the following issues:

1. for lambda proxy classes already stored in the static archive, during CDS dynamic dump, those classes should not be regenerated and stored in the dynamic archive; (see changes in jvm.cpp)
2. handle multiple lambda proxy classes with the same invoke dynamic info stored in both static and dynamic archives. (see changes in systemDictionaryShared.cpp)

Also added a test.

Passed tiers 1 - 4 testing.

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

Commit messages:
 - remove trailing whitespace
 - add missing files
 - 8307468: CDS Lambda Proxy classes are regenerated in dynamic dump

Changes: https://git.openjdk.org/jdk/pull/15524/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307468
  Stats: 216 lines in 6 files changed: 205 ins; 6 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/15524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15524/head:pull/15524

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


More information about the hotspot-runtime-dev mailing list