diff src/cpu/x86/vm/templateInterpreter_x86_64.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 bd3237e0e18d
children 0bf37f737702
line wrap: on
line diff
--- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Wed Apr 09 11:18:02 2014 -0700
+++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Thu Apr 03 12:37:53 2014 +0200
@@ -1259,7 +1259,7 @@
 
   // reset handle block
   __ movptr(t, Address(r15_thread, JavaThread::active_handles_offset()));
-  __ movptr(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
+  __ movl(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
 
   // If result is an oop unbox and store it in frame where gc will see it
   // and result handler will pick it up