1.1 --- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp Thu May 20 06:34:23 2010 -0700 1.2 +++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp Fri May 21 02:59:24 2010 -0700 1.3 @@ -782,7 +782,7 @@ 1.4 // Restore SP from BP if the exception PC is a MethodHandle call site. 1.5 NOT_LP64(__ get_thread(thread);) 1.6 __ cmpl(Address(thread, JavaThread::is_method_handle_return_offset()), 0); 1.7 - __ cmovptr(Assembler::notEqual, rsp, rbp); 1.8 + __ cmovptr(Assembler::notEqual, rsp, rbp_mh_SP_save); 1.9 1.10 // continue at exception handler (return address removed) 1.11 // note: do *not* remove arguments when unwinding the