< prev index next >

src/hotspot/share/memory/iterator.hpp

Print this page

        

*** 113,122 **** --- 113,128 ---- virtual bool do_metadata() { return false; } virtual void do_klass(Klass* k) { ShouldNotReachHere(); } virtual void do_cld(ClassLoaderData* cld) { ShouldNotReachHere(); } }; + class DerivedOopClosure : public Closure { + public: + enum { SkipNull = true }; + virtual void do_derived_oop(oop* base, oop* derived) = 0; + }; + class KlassClosure : public Closure { public: virtual void do_klass(Klass* k) = 0; };
< prev index next >