src/hotspot/share/oops/klass.hpp
changeset 58537 30a9612a657d
parent 58260 704e4ff399a2
child 58679 9c3209ff7550
child 58735 24d411cb3a90
equal deleted inserted replaced
58536:1b76d17440a0 58537:30a9612a657d
   467 
   467 
   468   // tells if the class should be initialized
   468   // tells if the class should be initialized
   469   virtual bool should_be_initialized() const    { return false; }
   469   virtual bool should_be_initialized() const    { return false; }
   470   // initializes the klass
   470   // initializes the klass
   471   virtual void initialize(TRAPS);
   471   virtual void initialize(TRAPS);
   472   // lookup operation for MethodLookupCache
       
   473   friend class MethodLookupCache;
       
   474   virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const;
   472   virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const;
   475   virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature,
   473   virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature,
   476                                          OverpassLookupMode overpass_mode,
   474                                          OverpassLookupMode overpass_mode,
   477                                          PrivateLookupMode = find_private) const;
   475                                          PrivateLookupMode = find_private) const;
   478  public:
   476  public:
   534     } else {
   532     } else {
   535       return true;
   533       return true;
   536     }
   534     }
   537   }
   535   }
   538 
   536 
   539  public:
       
   540   // subclass accessor (here for convenience; undefined for non-klass objects)
       
   541   virtual bool is_leaf_class() const { fatal("not a class"); return false; }
       
   542  public:
   537  public:
   543   // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP
   538   // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP
   544   // These functions describe behavior for the oop not the KLASS.
   539   // These functions describe behavior for the oop not the KLASS.
   545 
   540 
   546   // actual oop size of obj in memory
   541   // actual oop size of obj in memory