--- old/src/cpu/x86/vm/templateInterpreter_x86_64.cpp 2013-10-09 18:09:18.510239035 +0200 +++ new/src/cpu/x86/vm/templateInterpreter_x86_64.cpp 2013-10-09 18:09:18.103700083 +0200 @@ -174,6 +174,12 @@ // and NULL it as marker that esp is now tos until next java call __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD); + if (state == atos) { + Register mdp = r13; + Register tmp = r14; + __ profile_return_type(mdp, rax, tmp); + } + __ restore_bcp(); __ restore_locals();