< prev index next >

src/share/vm/gc_implementation/g1/g1RemSet.hpp

Print this page
rev 7973 : G1RootProcessor


  41 class G1RemSet: public CHeapObj<mtGC> {
  42 private:
  43   G1RemSetSummary _prev_period_summary;
  44 protected:
  45   G1CollectedHeap* _g1;
  46   size_t _conc_refine_cards;
  47   uint n_workers();
  48 
  49 protected:
  50   enum SomePrivateConstants {
  51     UpdateRStoMergeSync  = 0,
  52     MergeRStoDoDirtySync = 1,
  53     DoDirtySync          = 2,
  54     LastSync             = 3,
  55 
  56     SeqTask              = 0,
  57     NumSeqTasks          = 1
  58   };
  59 
  60   CardTableModRefBS*     _ct_bs;
  61   SubTasksDone*          _seq_task;
  62   G1CollectorPolicy*     _g1p;
  63 
  64   ConcurrentG1Refine*    _cg1r;
  65 
  66   size_t*                _cards_scanned;
  67   size_t                 _total_cards_scanned;
  68 
  69   // Used for caching the closure that is responsible for scanning
  70   // references into the collection set.
  71   G1ParPushHeapRSClosure** _cset_rs_update_cl;
  72 
  73   // Print the given summary info
  74   virtual void print_summary_info(G1RemSetSummary * summary, const char * header = NULL);
  75 public:
  76   // This is called to reset dual hash tables after the gc pause
  77   // is finished and the initial hash table is no longer being
  78   // scanned.
  79   void cleanupHRRS();
  80 
  81   G1RemSet(G1CollectedHeap* g1, CardTableModRefBS* ct_bs);




  41 class G1RemSet: public CHeapObj<mtGC> {
  42 private:
  43   G1RemSetSummary _prev_period_summary;
  44 protected:
  45   G1CollectedHeap* _g1;
  46   size_t _conc_refine_cards;
  47   uint n_workers();
  48 
  49 protected:
  50   enum SomePrivateConstants {
  51     UpdateRStoMergeSync  = 0,
  52     MergeRStoDoDirtySync = 1,
  53     DoDirtySync          = 2,
  54     LastSync             = 3,
  55 
  56     SeqTask              = 0,
  57     NumSeqTasks          = 1
  58   };
  59 
  60   CardTableModRefBS*     _ct_bs;

  61   G1CollectorPolicy*     _g1p;
  62 
  63   ConcurrentG1Refine*    _cg1r;
  64 
  65   size_t*                _cards_scanned;
  66   size_t                 _total_cards_scanned;
  67 
  68   // Used for caching the closure that is responsible for scanning
  69   // references into the collection set.
  70   G1ParPushHeapRSClosure** _cset_rs_update_cl;
  71 
  72   // Print the given summary info
  73   virtual void print_summary_info(G1RemSetSummary * summary, const char * header = NULL);
  74 public:
  75   // This is called to reset dual hash tables after the gc pause
  76   // is finished and the initial hash table is no longer being
  77   // scanned.
  78   void cleanupHRRS();
  79 
  80   G1RemSet(G1CollectedHeap* g1, CardTableModRefBS* ct_bs);


< prev index next >