< prev index next >

src/hotspot/share/memory/iterator.hpp

Print this page
@@ -52,10 +52,12 @@
  // OopClosure is used for iterating through references to Java objects.
  class OopClosure : public Closure {
   public:
    virtual void do_oop(oop* o) = 0;
    virtual void do_oop(narrowOop* o) = 0;
+   virtual void do_oop_no_buffering(oop* o) { do_oop(o); }
+   virtual void do_oop_no_buffering(narrowOop* o) { do_oop(o); }
  };
  
  class DoNothingClosure : public OopClosure {
   public:
    virtual void do_oop(oop* p)       {}

@@ -135,10 +137,15 @@
   public:
    enum { SkipNull = true };
    virtual void do_derived_oop(derived_base* base, derived_pointer* derived) = 0;
  };
  
+ class BufferedValueClosure : public Closure {
+ public:
+   virtual void do_buffered_value(oop* p) = 0;
+ };
+ 
  class KlassClosure : public Closure {
   public:
    virtual void do_klass(Klass* k) = 0;
  };
  
< prev index next >