< prev index next >

src/hotspot/share/oops/klass.hpp

Print this page
rev 56521 : 8232050: Improve inlining of Klass accessors
Reviewed-by: TBD

*** 467,478 **** // tells if the class should be initialized virtual bool should_be_initialized() const { return false; } // initializes the klass virtual void initialize(TRAPS); - // lookup operation for MethodLookupCache - friend class MethodLookupCache; virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const; virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature, OverpassLookupMode overpass_mode, PrivateLookupMode = find_private) const; public: --- 467,476 ----
*** 535,547 **** return true; } } public: - // subclass accessor (here for convenience; undefined for non-klass objects) - virtual bool is_leaf_class() const { fatal("not a class"); return false; } - public: // ALL FUNCTIONS BELOW THIS POINT ARE DISPATCHED FROM AN OOP // These functions describe behavior for the oop not the KLASS. // actual oop size of obj in memory virtual int oop_size(oop obj) const = 0; --- 533,542 ----
< prev index next >