RFR: 8330813: Don't call methods from Compressed(Oops|Klass) if the associated mode is inactive

Thomas Stuefe stuefe at openjdk.org
Fri Apr 26 12:09:59 UTC 2024


We should not call methods from CompressedOops if we run with -XX:-UseCompressedOops, and the same goes for CompressedKlass and -XX:-UseCompressedClassPointers. (the latter we do assert in Lilliput).

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

Commit messages:
 - start

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

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


More information about the hotspot-compiler-dev mailing list