RFR: 8340012: [C2] assert(KlassEncodingMetaspaceMax > pd) failed: change encoding max if new encoding after 8338526

Martin Doerr mdoerr at openjdk.org
Thu Sep 12 17:21:32 UTC 2024


After JDK-8338526, the transformation can only be done if the Klass* is in the encoding range (also see JBS issue for more details). I've also enhanced the assertion message.

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

Commit messages:
 - 8340012: [C2] assert(KlassEncodingMetaspaceMax > pd) failed: change encoding max if new encoding after 8338526

Changes: https://git.openjdk.org/jdk/pull/20971/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20971&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340012
  Stats: 6 lines in 3 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/20971.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20971/head:pull/20971

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


More information about the hotspot-dev mailing list