src/hotspot/share/classfile/altHashing.cpp
changeset 57777 90ead0febf56
parent 49722 a47d1e21b3f1
child 57811 947252a54b98
--- a/src/hotspot/share/classfile/altHashing.cpp	Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/share/classfile/altHashing.cpp	Tue Aug 06 10:48:21 2019 +0200
@@ -35,8 +35,8 @@
 // objects.  We don't want to call the synchronizer hash code to install
 // this value because it may safepoint.
 static intptr_t object_hash(Klass* k) {
-  intptr_t hc = k->java_mirror()->mark()->hash();
-  return hc != markOopDesc::no_hash ? hc : os::random();
+  intptr_t hc = k->java_mirror()->mark().hash();
+  return hc != markWord::no_hash ? hc : os::random();
 }
 
 // Seed value used for each alternative hash calculated.