src/share/vm/jfr/leakprofiler/chains/dfsClosure.hpp

changeset 9885
8e875c964f41
parent 9858
b985cbb00e68
     1.1 --- a/src/share/vm/jfr/leakprofiler/chains/dfsClosure.hpp	Fri Sep 27 13:23:32 2019 +0800
     1.2 +++ b/src/share/vm/jfr/leakprofiler/chains/dfsClosure.hpp	Wed Oct 09 16:11:58 2019 +0800
     1.3 @@ -26,7 +26,6 @@
     1.4  #define SHARE_VM_JFR_LEAKPROFILER_CHAINS_DFSCLOSURE_HPP
     1.5  
     1.6  #include "memory/iterator.hpp"
     1.7 -#include "oops/oop.hpp"
     1.8  
     1.9  class BitSet;
    1.10  class Edge;
    1.11 @@ -34,7 +33,7 @@
    1.12  class EdgeQueue;
    1.13  
    1.14  // Class responsible for iterating the heap depth-first
    1.15 -class DFSClosure: public ExtendedOopClosure { // XXX BasicOopIterateClosure
    1.16 +class DFSClosure : public ExtendedOopClosure { // XXX BasicOopIterateClosure
    1.17   private:
    1.18    static EdgeStore* _edge_store;
    1.19    static BitSet*    _mark_bits;
    1.20 @@ -57,6 +56,7 @@
    1.21   public:
    1.22    static void find_leaks_from_edge(EdgeStore* edge_store, BitSet* mark_bits, const Edge* start_edge);
    1.23    static void find_leaks_from_root_set(EdgeStore* edge_store, BitSet* mark_bits);
    1.24 +  void do_root(const oop* ref);
    1.25  
    1.26    virtual void do_oop(oop* ref);
    1.27    virtual void do_oop(narrowOop* ref);

mercurial