src/cpu/x86/vm/interp_masm_x86_32.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_32.hpp

Print this page
rev 5462 : 8026251: New type profiling points: parameters to methods
Summary: x86 interpreter and c1 type profiling for parameters on method entries
Reviewed-by:


 201   void test_mdp_data_at(Register mdp_in, int offset, Register value,
 202                         Register test_value_out,
 203                         Label& not_equal_continue);
 204 
 205   void record_klass_in_profile(Register receiver, Register mdp,
 206                                Register reg2, bool is_virtual_call);
 207   void record_klass_in_profile_helper(Register receiver, Register mdp,
 208                                       Register reg2, int start_row,
 209                                       Label& done, bool is_virtual_call);
 210 
 211   void update_mdp_by_offset(Register mdp_in, int offset_of_offset);
 212   void update_mdp_by_offset(Register mdp_in, Register reg, int offset_of_disp);
 213   void update_mdp_by_constant(Register mdp_in, int constant);
 214   void update_mdp_for_ret(Register return_bci);
 215 
 216   void profile_taken_branch(Register mdp, Register bumped_count);
 217   void profile_not_taken_branch(Register mdp);
 218   void profile_obj_type(Register obj, const Address& mdo_addr);
 219   void profile_arguments_type(Register mdp, Register callee, Register tmp, bool is_virtual);
 220   void profile_return_type(Register mdp, Register ret, Register tmp);

 221   void profile_call(Register mdp);
 222   void profile_final_call(Register mdp);
 223   void profile_virtual_call(Register receiver, Register mdp, Register scratch2,
 224                             bool receiver_can_be_null = false);
 225   void profile_ret(Register return_bci, Register mdp);
 226   void profile_null_seen(Register mdp);
 227   void profile_typecheck(Register mdp, Register klass, Register scratch);
 228   void profile_typecheck_failed(Register mdp);
 229   void profile_switch_default(Register mdp);
 230   void profile_switch_case(Register index_in_scratch, Register mdp, Register scratch2);
 231 
 232 #endif /* !CC_INTERP */
 233 
 234   typedef enum { NotifyJVMTI, SkipNotifyJVMTI } NotifyMethodExitMode;
 235 
 236   // support for jvmti
 237   void notify_method_entry();
 238   void notify_method_exit(TosState state, NotifyMethodExitMode mode);
 239 
 240 };


 201   void test_mdp_data_at(Register mdp_in, int offset, Register value,
 202                         Register test_value_out,
 203                         Label& not_equal_continue);
 204 
 205   void record_klass_in_profile(Register receiver, Register mdp,
 206                                Register reg2, bool is_virtual_call);
 207   void record_klass_in_profile_helper(Register receiver, Register mdp,
 208                                       Register reg2, int start_row,
 209                                       Label& done, bool is_virtual_call);
 210 
 211   void update_mdp_by_offset(Register mdp_in, int offset_of_offset);
 212   void update_mdp_by_offset(Register mdp_in, Register reg, int offset_of_disp);
 213   void update_mdp_by_constant(Register mdp_in, int constant);
 214   void update_mdp_for_ret(Register return_bci);
 215 
 216   void profile_taken_branch(Register mdp, Register bumped_count);
 217   void profile_not_taken_branch(Register mdp);
 218   void profile_obj_type(Register obj, const Address& mdo_addr);
 219   void profile_arguments_type(Register mdp, Register callee, Register tmp, bool is_virtual);
 220   void profile_return_type(Register mdp, Register ret, Register tmp);
 221   void profile_parameters_type(Register mdp, Register tmp1, Register tmp2);
 222   void profile_call(Register mdp);
 223   void profile_final_call(Register mdp);
 224   void profile_virtual_call(Register receiver, Register mdp, Register scratch2,
 225                             bool receiver_can_be_null = false);
 226   void profile_ret(Register return_bci, Register mdp);
 227   void profile_null_seen(Register mdp);
 228   void profile_typecheck(Register mdp, Register klass, Register scratch);
 229   void profile_typecheck_failed(Register mdp);
 230   void profile_switch_default(Register mdp);
 231   void profile_switch_case(Register index_in_scratch, Register mdp, Register scratch2);
 232 
 233 #endif /* !CC_INTERP */
 234 
 235   typedef enum { NotifyJVMTI, SkipNotifyJVMTI } NotifyMethodExitMode;
 236 
 237   // support for jvmti
 238   void notify_method_entry();
 239   void notify_method_exit(TosState state, NotifyMethodExitMode mode);
 240 
 241 };
src/cpu/x86/vm/interp_masm_x86_32.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File