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 5240 : 8023657: New type profiling points: arguments to call
Summary: x86 interpreter and c1 type profiling for arguments at calls
Reviewed-by:


 198                                Register scratch, bool preloaded,
 199                                Condition cond, Label* where);
 200   void set_mdp_flag_at(Register mdp_in, int flag_constant);
 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_call(Register mdp);
 219   void profile_final_call(Register mdp);
 220   void profile_virtual_call(Register receiver, Register mdp, Register scratch2,
 221                             bool receiver_can_be_null = false);
 222   void profile_ret(Register return_bci, Register mdp);
 223   void profile_null_seen(Register mdp);
 224   void profile_typecheck(Register mdp, Register klass, Register scratch);
 225   void profile_typecheck_failed(Register mdp);
 226   void profile_switch_default(Register mdp);
 227   void profile_switch_case(Register index_in_scratch, Register mdp, Register scratch2);
 228 
 229 #endif /* !CC_INTERP */
 230 
 231   typedef enum { NotifyJVMTI, SkipNotifyJVMTI } NotifyMethodExitMode;
 232 
 233   // support for jvmti
 234   void notify_method_entry();
 235   void notify_method_exit(TosState state, NotifyMethodExitMode mode);
 236 
 237 };


 198                                Register scratch, bool preloaded,
 199                                Condition cond, Label* where);
 200   void set_mdp_flag_at(Register mdp_in, int flag_constant);
 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_call(Register mdp);
 221   void profile_final_call(Register mdp);
 222   void profile_virtual_call(Register receiver, Register mdp, Register scratch2,
 223                             bool receiver_can_be_null = false);
 224   void profile_ret(Register return_bci, Register mdp);
 225   void profile_null_seen(Register mdp);
 226   void profile_typecheck(Register mdp, Register klass, Register scratch);
 227   void profile_typecheck_failed(Register mdp);
 228   void profile_switch_default(Register mdp);
 229   void profile_switch_case(Register index_in_scratch, Register mdp, Register scratch2);
 230 
 231 #endif /* !CC_INTERP */
 232 
 233   typedef enum { NotifyJVMTI, SkipNotifyJVMTI } NotifyMethodExitMode;
 234 
 235   // support for jvmti
 236   void notify_method_entry();
 237   void notify_method_exit(TosState state, NotifyMethodExitMode mode);
 238 
 239 };
src/cpu/x86/vm/interp_masm_x86_32.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File