src/cpu/x86/vm/interp_masm_x86_64.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/cpu/x86/vm

src/cpu/x86/vm/interp_masm_x86_64.hpp

Print this page
rev 5349 : 8023657: New type profiling points: arguments to call
Summary: x86 interpreter and c1 type profiling for arguments at calls
Reviewed-by:


 207                                Register scratch, bool preloaded,
 208                                Condition cond, Label* where);
 209   void set_mdp_flag_at(Register mdp_in, int flag_constant);
 210   void test_mdp_data_at(Register mdp_in, int offset, Register value,
 211                         Register test_value_out,
 212                         Label& not_equal_continue);
 213 
 214   void record_klass_in_profile(Register receiver, Register mdp,
 215                                Register reg2, bool is_virtual_call);
 216   void record_klass_in_profile_helper(Register receiver, Register mdp,
 217                                       Register reg2, int start_row,
 218                                       Label& done, bool is_virtual_call);
 219 
 220   void update_mdp_by_offset(Register mdp_in, int offset_of_offset);
 221   void update_mdp_by_offset(Register mdp_in, Register reg, int offset_of_disp);
 222   void update_mdp_by_constant(Register mdp_in, int constant);
 223   void update_mdp_for_ret(Register return_bci);
 224 
 225   void profile_taken_branch(Register mdp, Register bumped_count);
 226   void profile_not_taken_branch(Register mdp);


 227   void profile_call(Register mdp);
 228   void profile_final_call(Register mdp);
 229   void profile_virtual_call(Register receiver, Register mdp,
 230                             Register scratch2,
 231                             bool receiver_can_be_null = false);
 232   void profile_ret(Register return_bci, Register mdp);
 233   void profile_null_seen(Register mdp);
 234   void profile_typecheck(Register mdp, Register klass, Register scratch);
 235   void profile_typecheck_failed(Register mdp);
 236   void profile_switch_default(Register mdp);
 237   void profile_switch_case(Register index_in_scratch, Register mdp,
 238                            Register scratch2);
 239 
 240   // Debugging
 241   // only if +VerifyOops && state == atos
 242   void verify_oop(Register reg, TosState state = atos);
 243   // only if +VerifyFPU  && (state == ftos || state == dtos)
 244   void verify_FPU(int stack_depth, TosState state = ftos);
 245 
 246 #endif // !CC_INTERP


 207                                Register scratch, bool preloaded,
 208                                Condition cond, Label* where);
 209   void set_mdp_flag_at(Register mdp_in, int flag_constant);
 210   void test_mdp_data_at(Register mdp_in, int offset, Register value,
 211                         Register test_value_out,
 212                         Label& not_equal_continue);
 213 
 214   void record_klass_in_profile(Register receiver, Register mdp,
 215                                Register reg2, bool is_virtual_call);
 216   void record_klass_in_profile_helper(Register receiver, Register mdp,
 217                                       Register reg2, int start_row,
 218                                       Label& done, bool is_virtual_call);
 219 
 220   void update_mdp_by_offset(Register mdp_in, int offset_of_offset);
 221   void update_mdp_by_offset(Register mdp_in, Register reg, int offset_of_disp);
 222   void update_mdp_by_constant(Register mdp_in, int constant);
 223   void update_mdp_for_ret(Register return_bci);
 224 
 225   void profile_taken_branch(Register mdp, Register bumped_count);
 226   void profile_not_taken_branch(Register mdp);
 227   void profile_obj_type(Register obj, const Address& mdo_addr);
 228   void profile_arguments_type(Register mdp, Register callee, Register tmp, bool is_virtual);
 229   void profile_call(Register mdp);
 230   void profile_final_call(Register mdp);
 231   void profile_virtual_call(Register receiver, Register mdp,
 232                             Register scratch2,
 233                             bool receiver_can_be_null = false);
 234   void profile_ret(Register return_bci, Register mdp);
 235   void profile_null_seen(Register mdp);
 236   void profile_typecheck(Register mdp, Register klass, Register scratch);
 237   void profile_typecheck_failed(Register mdp);
 238   void profile_switch_default(Register mdp);
 239   void profile_switch_case(Register index_in_scratch, Register mdp,
 240                            Register scratch2);
 241 
 242   // Debugging
 243   // only if +VerifyOops && state == atos
 244   void verify_oop(Register reg, TosState state = atos);
 245   // only if +VerifyFPU  && (state == ftos || state == dtos)
 246   void verify_FPU(int stack_depth, TosState state = ftos);
 247 
 248 #endif // !CC_INTERP
src/cpu/x86/vm/interp_masm_x86_64.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File