hotspot/src/share/vm/gc/g1/g1RemSet.hpp
changeset 35061 be6025ebffea
parent 34269 7c558c120803
child 35070 1a30c4d1f1c5
equal deleted inserted replaced
35060:382d0689141c 35061:be6025ebffea
    31 // collection set.
    31 // collection set.
    32 
    32 
    33 class G1CollectedHeap;
    33 class G1CollectedHeap;
    34 class ConcurrentG1Refine;
    34 class ConcurrentG1Refine;
    35 class G1ParPushHeapRSClosure;
    35 class G1ParPushHeapRSClosure;
       
    36 class outputStream;
    36 
    37 
    37 // A G1RemSet in which each heap region has a rem set that records the
    38 // A G1RemSet in which each heap region has a rem set that records the
    38 // external heap references into it.  Uses a mod ref bs to track updates,
    39 // external heap references into it.  Uses a mod ref bs to track updates,
    39 // so that they can be used to update the individual region remsets.
    40 // so that they can be used to update the individual region remsets.
    40 
    41 
    61 
    62 
    62   // Used for caching the closure that is responsible for scanning
    63   // Used for caching the closure that is responsible for scanning
    63   // references into the collection set.
    64   // references into the collection set.
    64   G1ParPushHeapRSClosure** _cset_rs_update_cl;
    65   G1ParPushHeapRSClosure** _cset_rs_update_cl;
    65 
    66 
    66   // Print the given summary info
       
    67   virtual void print_summary_info(G1RemSetSummary * summary, const char * header = NULL);
       
    68 public:
    67 public:
    69   // This is called to reset dual hash tables after the gc pause
    68   // This is called to reset dual hash tables after the gc pause
    70   // is finished and the initial hash table is no longer being
    69   // is finished and the initial hash table is no longer being
    71   // scanned.
    70   // scanned.
    72   void cleanupHRRS();
    71   void cleanupHRRS();
   133 
   132 
   134   // Print accumulated summary info from the start of the VM.
   133   // Print accumulated summary info from the start of the VM.
   135   virtual void print_summary_info();
   134   virtual void print_summary_info();
   136 
   135 
   137   // Print accumulated summary info from the last time called.
   136   // Print accumulated summary info from the last time called.
   138   virtual void print_periodic_summary_info(const char* header);
   137   virtual void print_periodic_summary_info(const char* header, uint period_count);
   139 
   138 
   140   // Prepare remembered set for verification.
   139   // Prepare remembered set for verification.
   141   virtual void prepare_for_verify();
   140   virtual void prepare_for_verify();
   142 
   141 
   143   size_t conc_refine_cards() const {
   142   size_t conc_refine_cards() const {