src/hotspot/share/oops/method.hpp
changeset 58861 2c3cc4b01880
parent 58775 ba524a5f7cc2
child 59056 15936b142f86
equal deleted inserted replaced
58860:506bd2e1f840 58861:2c3cc4b01880
   606   // method holder (the Klass* holding this method)
   606   // method holder (the Klass* holding this method)
   607   InstanceKlass* method_holder() const         { return constants()->pool_holder(); }
   607   InstanceKlass* method_holder() const         { return constants()->pool_holder(); }
   608 
   608 
   609   void compute_size_of_parameters(Thread *thread); // word size of parameters (receiver if any + arguments)
   609   void compute_size_of_parameters(Thread *thread); // word size of parameters (receiver if any + arguments)
   610   Symbol* klass_name() const;                    // returns the name of the method holder
   610   Symbol* klass_name() const;                    // returns the name of the method holder
   611   BasicType result_type() const;                 // type of the method result
   611   BasicType result_type() const                  { return constMethod()->result_type(); }
   612   bool is_returning_oop() const                  { BasicType r = result_type(); return is_reference_type(r); }
   612   bool is_returning_oop() const                  { BasicType r = result_type(); return is_reference_type(r); }
   613   bool is_returning_fp() const                   { BasicType r = result_type(); return (r == T_FLOAT || r == T_DOUBLE); }
   613   bool is_returning_fp() const                   { BasicType r = result_type(); return (r == T_FLOAT || r == T_DOUBLE); }
   614 
   614 
   615   // Checked exceptions thrown by this method (resolved to mirrors)
   615   // Checked exceptions thrown by this method (resolved to mirrors)
   616   objArrayHandle resolved_checked_exceptions(TRAPS) { return resolved_checked_exceptions_impl(this, THREAD); }
   616   objArrayHandle resolved_checked_exceptions(TRAPS) { return resolved_checked_exceptions_impl(this, THREAD); }