RFR: 8274718: runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings

Fairoz Matte fmatte at openjdk.java.net
Tue Oct 12 09:47:58 UTC 2021


This test uses the default CDS archive with -Xshare:on. However, the default CDS archive may fail to load when a few VM flags are mismatched.
Using  -Xshare:auto instead of -Xshare:on for testDefaultArchiveWithEagerInitializationEnabled() and testDefaultArchiveWithEagerInitializationDisabled() method calls

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

Commit messages:
 - 8274718: runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings

Changes: https://git.openjdk.java.net/jdk/pull/5906/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5906&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274718
  Stats: 5 lines in 1 file changed: 2 ins; 2 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5906.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5906/head:pull/5906

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


More information about the hotspot-runtime-dev mailing list