< prev index next >

src/share/vm/oops/oop.cpp

Print this page
rev 8961 : [mq]: diff-shenandoah.patch

@@ -98,11 +98,11 @@
 
 intptr_t oopDesc::slow_identity_hash() {
   // slow case; we have to acquire the micro lock in order to locate the header
   ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY
   HandleMark hm;
-  Handle object(this);
+  Handle object(oopDesc::bs()->resolve_and_maybe_copy_oop(this));
   return ObjectSynchronizer::identity_hash_value_for(object);
 }
 
 // When String table needs to rehash
 unsigned int oopDesc::new_hash(juint seed) {
< prev index next >