8039975: SIGSEGV in MethodData::next_data(ProfileData*)

Profiling code in interpreter broken when argument profiling is off.

Reviewed-by: iveresov, kvn
This commit is contained in:
Roland Westrelin 2014-04-18 14:25:21 +02:00
parent a138550830
commit 0acbad17c8
4 changed files with 10 additions and 5 deletions

View file

@ -137,7 +137,7 @@ void InterpreterMacroAssembler::profile_arguments_type(Register mdp, Register ca
movptr(Address(rbp, frame::interpreter_frame_mdx_offset * wordSize), mdp);
} else {
assert(MethodData::profile_return(), "either profile call args or call ret");
update_mdp_by_constant(mdp, in_bytes(ReturnTypeEntry::size()));
update_mdp_by_constant(mdp, in_bytes(TypeEntriesAtCall::return_only_size()));
}
// mdp points right after the end of the