src/cpu/sparc/vm/cppInterpreter_sparc.cpp

Print this page
rev 6214 : 8039146: Fix 64-bit store to int JNIHandleBlock::_top

@@ -956,11 +956,11 @@
 
   }
 
   // reset handle block
   __ ld_ptr(G2_thread, in_bytes(JavaThread::active_handles_offset()), G3_scratch);
-  __ st_ptr(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes());
+  __ st(G0, G3_scratch, JNIHandleBlock::top_offset_in_bytes());
 
 
   // handle exceptions (exception handling will handle unlocking!)
   { Label L;
     Address exception_addr (G2_thread, in_bytes(Thread::pending_exception_offset()));