--- old/src/cpu/x86/vm/templateInterpreter_x86_32.cpp 2013-10-09 18:09:18.261432196 +0200 +++ new/src/cpu/x86/vm/templateInterpreter_x86_32.cpp 2013-10-09 18:09:17.858234441 +0200 @@ -191,6 +191,11 @@ // and NULL it as marker that rsp is now tos until next java call __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), NULL_WORD); + if (incoming_state == atos) { + Register mdp = rsi; + Register tmp = rdi; + __ profile_return_type(mdp, rax, tmp); + } __ restore_bcp(); __ restore_locals();