diff src/cpu/sparc/vm/templateInterpreter_sparc.cpp @ 17850:2100bf712e2a

8039146: Fix 64-bit store to int JNIHandleBlock::_top Reviewed-by: coleenp, kvn
author goetz
date Thu, 03 Apr 2014 12:37:53 +0200
parents add2caa66e7e
children 0bf37f737702
line wrap: on
line diff
--- a/src/cpu/sparc/vm/templateInterpreter_sparc.cpp	Wed Apr 09 11:18:02 2014 -0700
+++ b/src/cpu/sparc/vm/templateInterpreter_sparc.cpp	Thu Apr 03 12:37:53 2014 +0200
@@ -1147,7 +1147,7 @@
 
   // reset handle block
   __ ld_ptr(G2_thread, 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());
 
   // If we have an oop result store it where it will be safe for any further gc
   // until we return now that we've released the handle it might be protected by