equal
deleted
inserted
replaced
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 } |