hotspot/src/share/vm/oops/klass.hpp
changeset 27020 a7c8010446c2
parent 26412 80741eb33ba2
child 28731 f7339cba0a6a
equal deleted inserted replaced
27019:e326bfa8aeed 27020:a7c8010446c2
    60 template <class T> class GrowableArray;
    60 template <class T> class GrowableArray;
    61 class ClassLoaderData;
    61 class ClassLoaderData;
    62 class klassVtable;
    62 class klassVtable;
    63 class ParCompactionManager;
    63 class ParCompactionManager;
    64 class KlassSizeStats;
    64 class KlassSizeStats;
       
    65 class fieldDescriptor;
    65 
    66 
    66 class Klass : public Metadata {
    67 class Klass : public Metadata {
    67   friend class VMStructs;
    68   friend class VMStructs;
    68  protected:
    69  protected:
    69   // note: put frequently-used fields together at start of klass structure
    70   // note: put frequently-used fields together at start of klass structure
   409   virtual bool should_be_initialized() const    { return false; }
   410   virtual bool should_be_initialized() const    { return false; }
   410   // initializes the klass
   411   // initializes the klass
   411   virtual void initialize(TRAPS);
   412   virtual void initialize(TRAPS);
   412   // lookup operation for MethodLookupCache
   413   // lookup operation for MethodLookupCache
   413   friend class MethodLookupCache;
   414   friend class MethodLookupCache;
       
   415   virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const;
   414   virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const;
   416   virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const;
   415  public:
   417  public:
   416   Method* lookup_method(Symbol* name, Symbol* signature) const {
   418   Method* lookup_method(Symbol* name, Symbol* signature) const {
   417     return uncached_lookup_method(name, signature, normal);
   419     return uncached_lookup_method(name, signature, normal);
   418   }
   420   }