mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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:
parent
a138550830
commit
0acbad17c8
4 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue