src/cpu/x86/vm/templateInterpreter_x86_32.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/cpu/x86/vm/templateInterpreter_x86_32.cpp

src/cpu/x86/vm/templateInterpreter_x86_32.cpp

Print this page
rev 5350 : 8026054: New type profiling points: type of return values at calls
Summary: x86 interpreter and c1 type profiling for return values at calls
Reviewed-by:

*** 189,198 **** --- 189,203 ---- // Restore stack bottom in case i2c adjusted stack __ movptr(rsp, Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize)); // 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(); Label L_got_cache, L_giant_index; if (EnableInvokeDynamic) {
src/cpu/x86/vm/templateInterpreter_x86_32.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File