hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp
changeset 41084 fc5db29fa08e
parent 40644 39e631ed7145
child 42650 1f304d0c888b
equal deleted inserted replaced
41081:286019ba662d 41084:fc5db29fa08e
  2587       __ movptr(rax, Address(rax, 0));
  2587       __ movptr(rax, Address(rax, 0));
  2588       __ bind(L);
  2588       __ bind(L);
  2589       __ verify_oop(rax);
  2589       __ verify_oop(rax);
  2590   }
  2590   }
  2591 
  2591 
       
  2592   if (CheckJNICalls) {
       
  2593     // clear_pending_jni_exception_check
       
  2594     __ movptr(Address(r15_thread, JavaThread::pending_jni_exception_check_fn_offset()), NULL_WORD);
       
  2595   }
       
  2596 
  2592   if (!is_critical_native) {
  2597   if (!is_critical_native) {
  2593     // reset handle block
  2598     // reset handle block
  2594     __ movptr(rcx, Address(r15_thread, JavaThread::active_handles_offset()));
  2599     __ movptr(rcx, Address(r15_thread, JavaThread::active_handles_offset()));
  2595     __ movl(Address(rcx, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
  2600     __ movl(Address(rcx, JNIHandleBlock::top_offset_in_bytes()), (int32_t)NULL_WORD);
  2596   }
  2601   }