diff -r 7e40acdf2163 -r 27e801a857cb hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp --- a/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp Mon Mar 08 04:46:30 2010 -0800 +++ b/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp Tue Mar 09 20:16:19 2010 +0100 @@ -466,7 +466,7 @@ BLOCK_COMMENT("call exception_handler_for_return_address"); __ call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::exception_handler_for_return_address), - c_rarg0); + r15_thread, c_rarg0); __ mov(rbx, rax); // setup rax & rdx, remove return address & clear pending exception