hotspot/src/share/vm/ci/ciMethod.hpp
changeset 24018 77b156916bab
parent 23525 e3eb08ead679
child 24442 4d4ae31dea26
equal deleted inserted replaced
24016:2927072ed5fb 24018:77b156916bab
    69   vmIntrinsics::ID _intrinsic_id;
    69   vmIntrinsics::ID _intrinsic_id;
    70   int _handler_count;
    70   int _handler_count;
    71   int _interpreter_invocation_count;
    71   int _interpreter_invocation_count;
    72   int _interpreter_throwout_count;
    72   int _interpreter_throwout_count;
    73   int _instructions_size;
    73   int _instructions_size;
       
    74   int _size_of_parameters;
    74 
    75 
    75   bool _uses_monitors;
    76   bool _uses_monitors;
    76   bool _balanced_monitors;
    77   bool _balanced_monitors;
    77   bool _is_c1_compilable;
    78   bool _is_c1_compilable;
    78   bool _is_c2_compilable;
    79   bool _is_c2_compilable;
   164   vmIntrinsics::ID intrinsic_id() const          { check_is_loaded(); return _intrinsic_id; }
   165   vmIntrinsics::ID intrinsic_id() const          { check_is_loaded(); return _intrinsic_id; }
   165   bool has_exception_handlers() const            { check_is_loaded(); return _handler_count > 0; }
   166   bool has_exception_handlers() const            { check_is_loaded(); return _handler_count > 0; }
   166   int exception_table_length() const             { check_is_loaded(); return _handler_count; }
   167   int exception_table_length() const             { check_is_loaded(); return _handler_count; }
   167   int interpreter_invocation_count() const       { check_is_loaded(); return _interpreter_invocation_count; }
   168   int interpreter_invocation_count() const       { check_is_loaded(); return _interpreter_invocation_count; }
   168   int interpreter_throwout_count() const         { check_is_loaded(); return _interpreter_throwout_count; }
   169   int interpreter_throwout_count() const         { check_is_loaded(); return _interpreter_throwout_count; }
       
   170   int size_of_parameters() const                 { check_is_loaded(); return _size_of_parameters; }
   169 
   171 
   170   // Code size for inlining decisions.
   172   // Code size for inlining decisions.
   171   int code_size_for_inlining();
   173   int code_size_for_inlining();
   172 
   174 
   173   bool caller_sensitive() { return get_Method()->caller_sensitive(); }
   175   bool caller_sensitive() { return get_Method()->caller_sensitive(); }
   239   bool          parameter_profiled_type(int i, ciKlass*& type, bool& maybe_null);
   241   bool          parameter_profiled_type(int i, ciKlass*& type, bool& maybe_null);
   240   bool          return_profiled_type(int bci, ciKlass*& type, bool& maybe_null);
   242   bool          return_profiled_type(int bci, ciKlass*& type, bool& maybe_null);
   241 
   243 
   242   ciField*      get_field_at_bci( int bci, bool &will_link);
   244   ciField*      get_field_at_bci( int bci, bool &will_link);
   243   ciMethod*     get_method_at_bci(int bci, bool &will_link, ciSignature* *declared_signature);
   245   ciMethod*     get_method_at_bci(int bci, bool &will_link, ciSignature* *declared_signature);
   244 
       
   245   // Given a certain calling environment, find the monomorphic target
   246   // Given a certain calling environment, find the monomorphic target
   246   // for the call.  Return NULL if the call is not monomorphic in
   247   // for the call.  Return NULL if the call is not monomorphic in
   247   // its calling environment.
   248   // its calling environment.
   248   ciMethod* find_monomorphic_target(ciInstanceKlass* caller,
   249   ciMethod* find_monomorphic_target(ciInstanceKlass* caller,
   249                                     ciInstanceKlass* callee_holder,
   250                                     ciInstanceKlass* callee_holder,