comparison src/cpu/sparc/vm/interp_masm_sparc.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
comparison
equal deleted inserted replaced
17899:9eddc467297f 17900:ce9fd31ffd14
2001 sll(tmp1, exact_log2(DataLayout::cell_size), tmp1); 2001 sll(tmp1, exact_log2(DataLayout::cell_size), tmp1);
2002 add(ImethodDataPtr, tmp1, ImethodDataPtr); 2002 add(ImethodDataPtr, tmp1, ImethodDataPtr);
2003 } 2003 }
2004 } else { 2004 } else {
2005 assert(MethodData::profile_return(), "either profile call args or call ret"); 2005 assert(MethodData::profile_return(), "either profile call args or call ret");
2006 update_mdp_by_constant(in_bytes(ReturnTypeEntry::size())); 2006 update_mdp_by_constant(in_bytes(TypeEntriesAtCall::return_only_size()));
2007 } 2007 }
2008 2008
2009 // mdp points right after the end of the 2009 // mdp points right after the end of the
2010 // CallTypeData/VirtualCallTypeData, right after the cells for the 2010 // CallTypeData/VirtualCallTypeData, right after the cells for the
2011 // return value type if there's one. 2011 // return value type if there's one.