[lworld] RFR: 8310655: [lworld] ShouldNotReachHere() error in ObjectSynchronizer::FastHashCode

Coleen Phillimore coleenp at openjdk.org
Fri Jul 5 15:33:14 UTC 2024


This change uses the klass as the hashcode for inline objects.  It might have some negative performance impact if there are a lot of objects of the same type in the heap walk but it's better than crashing.
Tested with vmTestbase/nsk/jvmti tests locally.

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

Commit messages:
 - 8310655: [lworld] ShouldNotReachHere() error in ObjectSynchronizer::FastHashCode

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

PR: https://git.openjdk.org/valhalla/pull/1156


More information about the valhalla-dev mailing list