comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 4097:dc467e8b2c5e

7112743: G1: Reduce overhead of marking closure during evacuation pauses Summary: Parallelize the serial code that was used to mark objects reachable from survivor objects in the collection set. Some minor improvments in the timers used to track the freeing of the collection set along with some tweaks to PrintGCDetails. Reviewed-by: tonyp, brutisso
author johnc
date Thu, 17 Nov 2011 12:40:15 -0800
parents bca17e38de00
children 3c648b9ad052
comparison
equal deleted inserted replaced
4096:00dd86e542eb 4097:dc467e8b2c5e
1292 // It resets all the region claim values to the default. 1292 // It resets all the region claim values to the default.
1293 void reset_heap_region_claim_values(); 1293 void reset_heap_region_claim_values();
1294 1294
1295 #ifdef ASSERT 1295 #ifdef ASSERT
1296 bool check_heap_region_claim_values(jint claim_value); 1296 bool check_heap_region_claim_values(jint claim_value);
1297
1298 // Same as the routine above but only checks regions in the
1299 // current collection set.
1300 bool check_cset_heap_region_claim_values(jint claim_value);
1297 #endif // ASSERT 1301 #endif // ASSERT
1302
1303 // Given the id of a worker, calculate a suitable
1304 // starting region for iterating over the current
1305 // collection set.
1306 HeapRegion* start_cset_region_for_worker(int worker_i);
1298 1307
1299 // Iterate over the regions (if any) in the current collection set. 1308 // Iterate over the regions (if any) in the current collection set.
1300 void collection_set_iterate(HeapRegionClosure* blk); 1309 void collection_set_iterate(HeapRegionClosure* blk);
1301 1310
1302 // As above but starting from region r 1311 // As above but starting from region r