1.1 --- a/src/cpu/sparc/vm/stubGenerator_sparc.cpp Mon Mar 08 04:46:30 2010 -0800 1.2 +++ b/src/cpu/sparc/vm/stubGenerator_sparc.cpp Tue Mar 09 20:16:19 2010 +0100 1.3 @@ -379,7 +379,7 @@ 1.4 __ save_frame(0); // compensates for compiler weakness 1.5 __ add(O7->after_save(), frame::pc_return_offset, Lscratch); // save the issuing PC 1.6 BLOCK_COMMENT("call exception_handler_for_return_address"); 1.7 - __ call_VM_leaf(L7_thread_cache, CAST_FROM_FN_PTR(address, SharedRuntime::exception_handler_for_return_address), Lscratch); 1.8 + __ call_VM_leaf(L7_thread_cache, CAST_FROM_FN_PTR(address, SharedRuntime::exception_handler_for_return_address), G2_thread, Lscratch); 1.9 __ mov(O0, handler_reg); 1.10 __ restore(); // compensates for compiler weakness 1.11