comparison src/share/vm/gc_implementation/g1/g1RemSet.hpp @ 3777:e8b0b0392037

7046182: G1: remove unnecessary iterations over the collection set Summary: Remove two unnecessary iterations over the collection set which are supposed to prepare the RSet's of the CSet regions for parallel iterations (we'll make sure this is done incrementally). I'll piggyback on this CR the removal of the G1_REM_SET_LOGGING code. Reviewed-by: brutisso, johnc
author tonyp
date Tue, 21 Jun 2011 15:23:07 -0400
parents f95d63e2154a
children dc467e8b2c5e
comparison
equal deleted inserted replaced
3776:23d434c6290d 3777:e8b0b0392037
139 virtual void print_summary_info(); 139 virtual void print_summary_info();
140 140
141 // Prepare remembered set for verification. 141 // Prepare remembered set for verification.
142 virtual void prepare_for_verify(); 142 virtual void prepare_for_verify();
143 }; 143 };
144
145 #define G1_REM_SET_LOGGING 0
146 144
147 class CountNonCleanMemRegionClosure: public MemRegionClosure { 145 class CountNonCleanMemRegionClosure: public MemRegionClosure {
148 G1CollectedHeap* _g1; 146 G1CollectedHeap* _g1;
149 int _n; 147 int _n;
150 HeapWord* _start_first; 148 HeapWord* _start_first;