< prev index next >

src/hotspot/share/gc/serial/markSweep.hpp

Print this page
@@ -36,10 +36,12 @@
  #include "utilities/growableArray.hpp"
  #include "utilities/stack.hpp"
  
  class ReferenceProcessor;
  class DataLayout;
+ class Method;
+ class nmethod;
  class SerialOldTracer;
  class STWGCTimer;
  
  // MarkSweep takes care of global mark-compact garbage collection for a
  // GenCollectedHeap using a four-phase pointer forwarding algorithm.  All

@@ -179,10 +181,12 @@
    virtual void do_oop(narrowOop* p);
  
    virtual bool do_metadata() { return true; }
    virtual void do_klass(Klass* k);
    virtual void do_cld(ClassLoaderData* cld);
+   virtual void do_method(Method* m);
+   virtual void do_nmethod(nmethod* nm);
  
    void set_ref_discoverer(ReferenceDiscoverer* rd) {
      set_ref_discoverer_internal(rd);
    }
  };
< prev index next >