src/cpu/x86/vm/cppInterpreter_x86.cpp
Print this page
rev 6214 : 8039146: Fix 64-bit store to int JNIHandleBlock::_top
*** 1356,1366 ****
__ reset_last_Java_frame(thread, true, true);
// reset handle block
__ movptr(t, Address(thread, JavaThread::active_handles_offset()));
! __ movptr(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
// If result was an oop then unbox and save it in the frame
{ Label L;
Label no_oop, store_result;
ExternalAddress oop_handler(AbstractInterpreter::result_handler(T_OBJECT));
--- 1356,1366 ----
__ reset_last_Java_frame(thread, true, true);
// reset handle block
__ movptr(t, Address(thread, JavaThread::active_handles_offset()));
! __ movl(Address(t, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
// If result was an oop then unbox and save it in the frame
{ Label L;
Label no_oop, store_result;
ExternalAddress oop_handler(AbstractInterpreter::result_handler(T_OBJECT));