1.1 --- a/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Thu May 18 01:29:35 2017 +0800 1.2 +++ b/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Tue May 16 11:53:48 2017 -0400 1.3 @@ -533,8 +533,12 @@ 1.4 __ slt(AT, T3, SP); 1.5 __ bne(AT, R0, after_frame_check); 1.6 __ delayed()->nop(); 1.7 - // x86 version pop saved bcp and return address here, FIXME 1.8 - __ jmp(Interpreter::throw_StackOverflowError_entry(), relocInfo::runtime_call_type); 1.9 + 1.10 + // Note: the restored frame is not necessarily interpreted. 1.11 + // Use the shared runtime version of the StackOverflowError. 1.12 + __ move(SP, Rsender); 1.13 + assert(StubRoutines::throw_StackOverflowError_entry() != NULL, "stub not yet generated"); 1.14 + __ jmp(StubRoutines::throw_StackOverflowError_entry(), relocInfo::runtime_call_type); 1.15 __ delayed()->nop(); 1.16 1.17 // all done with frame size check