8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*)
authoraph
Tue, 27 Jan 2015 20:49:11 +0100
changeset 29188 b40701883668
parent 29187 b3e445e08548
child 29189 9252ebf92115
8071688: AARCH64: SIGSEGV in MethodData::next_data(ProfileData*) Summary: Apply the fix for 8039975 to the AArch64 sources. Reviewed-by: kvn, roland
hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
--- a/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Mon Jan 26 09:50:48 2015 -0800
+++ b/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.cpp	Tue Jan 27 20:49:11 2015 +0100
@@ -1586,7 +1586,7 @@
       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