hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp
changeset 5702 201c5cde25bb
parent 5547 f4b087cbb361
parent 5690 796ff3814b23
child 7397 5b173b4ca846
equal deleted inserted replaced
5685:0e4c848d5c06 5702:201c5cde25bb
  3303 
  3303 
  3304   // rax: exception handler
  3304   // rax: exception handler
  3305 
  3305 
  3306   // Restore SP from BP if the exception PC is a MethodHandle call site.
  3306   // Restore SP from BP if the exception PC is a MethodHandle call site.
  3307   __ cmpl(Address(r15_thread, JavaThread::is_method_handle_return_offset()), 0);
  3307   __ cmpl(Address(r15_thread, JavaThread::is_method_handle_return_offset()), 0);
  3308   __ cmovptr(Assembler::notEqual, rsp, rbp);
  3308   __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save);
  3309 
  3309 
  3310   // We have a handler in rax (could be deopt blob).
  3310   // We have a handler in rax (could be deopt blob).
  3311   __ mov(r8, rax);
  3311   __ mov(r8, rax);
  3312 
  3312 
  3313   // Get the exception oop
  3313   // Get the exception oop