From 610bd6ba34ad8292dbad170fd67952a18162e575 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Tue, 27 Jan 2015 20:49:11 +0100 Subject: [PATCH] 8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*) Apply the fix for 8039975 to the AArch64 sources. Reviewed-by: kvn, roland --- hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp index ea876315bc2..bffaee8e982 100644 --- a/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp +++ b/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp @@ -1586,7 +1586,7 @@ void InterpreterMacroAssembler::profile_arguments_type(Register mdp, Register ca str(mdp, Address(rfp, frame::interpreter_frame_mdp_offset * wordSize)); } 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