src/share/vm/oops/klass.hpp

changeset 7241
8cb56c8cb30d
parent 7089
6e0cb14ce59b
parent 6830
54bc75c144b0
child 7535
7ae4e26cb1e0
child 8368
32b682649973
equal deleted inserted replaced
7125:fe1f65b0a2d8 7241:8cb56c8cb30d
88 template <class T> class GrowableArray; 88 template <class T> class GrowableArray;
89 class ClassLoaderData; 89 class ClassLoaderData;
90 class klassVtable; 90 class klassVtable;
91 class ParCompactionManager; 91 class ParCompactionManager;
92 class KlassSizeStats; 92 class KlassSizeStats;
93 class fieldDescriptor;
93 94
94 class Klass : public Metadata { 95 class Klass : public Metadata {
95 friend class VMStructs; 96 friend class VMStructs;
96 protected: 97 protected:
97 // note: put frequently-used fields together at start of klass structure 98 // note: put frequently-used fields together at start of klass structure
439 virtual bool should_be_initialized() const { return false; } 440 virtual bool should_be_initialized() const { return false; }
440 // initializes the klass 441 // initializes the klass
441 virtual void initialize(TRAPS); 442 virtual void initialize(TRAPS);
442 // lookup operation for MethodLookupCache 443 // lookup operation for MethodLookupCache
443 friend class MethodLookupCache; 444 friend class MethodLookupCache;
445 virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const;
444 virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const; 446 virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const;
445 public: 447 public:
446 Method* lookup_method(Symbol* name, Symbol* signature) const { 448 Method* lookup_method(Symbol* name, Symbol* signature) const {
447 return uncached_lookup_method(name, signature, normal); 449 return uncached_lookup_method(name, signature, normal);
448 } 450 }

mercurial