diff src/cpu/x86/vm/interp_masm_x86.cpp @ 17900:ce9fd31ffd14

8039975: SIGSEGV in MethodData::next_data(ProfileData*) Summary: profiling code in interpreter broken when argument profiling is off. Reviewed-by: iveresov, kvn
author roland
date Fri, 18 Apr 2014 14:25:21 +0200
parents add2caa66e7e
children 52b4284cb496
line wrap: on
line diff
--- a/src/cpu/x86/vm/interp_masm_x86.cpp	Fri Feb 21 09:48:52 2014 +0100
+++ b/src/cpu/x86/vm/interp_masm_x86.cpp	Fri Apr 18 14:25:21 2014 +0200
@@ -137,7 +137,7 @@
       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