< prev index next >

src/hotspot/share/jfr/leakprofiler/chains/bfsClosure.hpp

Print this page




  47   bool _use_dfs;
  48 
  49   void log_completed_frontier() const;
  50   void log_dfs_fallback() const;
  51 
  52   bool is_complete() const;
  53   void step_frontier() const;
  54 
  55   void closure_impl(UnifiedOopRef reference, const oop pointee);
  56   void add_chain(UnifiedOopRef reference, const oop pointee);
  57   void dfs_fallback();
  58 
  59   void iterate(const Edge* parent);
  60   void process(UnifiedOopRef reference, const oop pointee);
  61 
  62   void process_root_set();
  63   void process_queue();
  64 
  65  public:
  66   virtual ReferenceIterationMode reference_iteration_mode() { return DO_FIELDS_EXCEPT_REFERENT; }
  67   virtual bool should_verify_oops() { return false; }
  68 
  69   BFSClosure(EdgeQueue* edge_queue, EdgeStore* edge_store, BitSet* mark_bits);
  70   void process();
  71   void do_root(UnifiedOopRef ref);
  72 
  73   virtual void do_oop(oop* ref);
  74   virtual void do_oop(narrowOop* ref);
  75 };
  76 
  77 #endif // SHARE_JFR_LEAKPROFILER_CHAINS_BFSCLOSURE_HPP


  47   bool _use_dfs;
  48 
  49   void log_completed_frontier() const;
  50   void log_dfs_fallback() const;
  51 
  52   bool is_complete() const;
  53   void step_frontier() const;
  54 
  55   void closure_impl(UnifiedOopRef reference, const oop pointee);
  56   void add_chain(UnifiedOopRef reference, const oop pointee);
  57   void dfs_fallback();
  58 
  59   void iterate(const Edge* parent);
  60   void process(UnifiedOopRef reference, const oop pointee);
  61 
  62   void process_root_set();
  63   void process_queue();
  64 
  65  public:
  66   virtual ReferenceIterationMode reference_iteration_mode() { return DO_FIELDS_EXCEPT_REFERENT; }

  67 
  68   BFSClosure(EdgeQueue* edge_queue, EdgeStore* edge_store, BitSet* mark_bits);
  69   void process();
  70   void do_root(UnifiedOopRef ref);
  71 
  72   virtual void do_oop(oop* ref);
  73   virtual void do_oop(narrowOop* ref);
  74 };
  75 
  76 #endif // SHARE_JFR_LEAKPROFILER_CHAINS_BFSCLOSURE_HPP
< prev index next >