RFR: 8260933: runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings

Jiangli Zhou jiangli at openjdk.java.net
Mon Mar 1 19:03:09 UTC 2021


Fixed runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java to check java/lang/Integer$IntegerCache instead of java.lang.Long$LongCache. java.lang.Long$LongCache may not be initialized under some configurations. Tested with & without -XX:-CompactStrings.

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

Commit messages:
 - 8260933:runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings.

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

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


More information about the hotspot-runtime-dev mailing list