< prev index next >

src/hotspot/cpu/sparc/templateTable_sparc.cpp

Print this page

        

@@ -2047,10 +2047,11 @@
   __ ld_ptr(Rcache, cp_base_offset + ConstantPoolCacheEntry::f2_offset(), Roffset);
   if (is_static) {
     __ ld_ptr(Rcache, cp_base_offset + ConstantPoolCacheEntry::f1_offset(), Robj);
     const int mirror_offset = in_bytes(Klass::java_mirror_offset());
     __ ld_ptr( Robj, mirror_offset, Robj);
+    __ resolve_oop_handle(Robj);
   }
 }
 
 // The registers Rcache and index expected to be set before call.
 // Correct values of the Rcache and index registers are preserved.
< prev index next >