< prev index next >
src/share/vm/gc/g1/g1ConcurrentMark.hpp
Print this page
rev 11040 : 8150393: Maintain the set of survivor regions in an array between GCs
Reviewed-by:
@@ -224,11 +224,14 @@
YoungList* _young_list;
G1ConcurrentMark* _cm;
volatile bool _scan_in_progress;
volatile bool _should_abort;
- HeapRegion* volatile _next_survivor;
+ // 1-based index into the YoungList survivor regions array
+ // a value of 'n' implies that survivor region at index 'n-1' has
+ // been scanned by a worker
+ volatile int _claimed_survivor_index;
void notify_scan_done();
public:
G1CMRootRegions();
< prev index next >