comparison src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 4072:8aae2050e83e

7092309: G1: introduce old region set Summary: Keep track of all the old regions in the heap with a heap region set. Reviewed-by: brutisso, johnc
author tonyp
date Mon, 07 Nov 2011 22:11:12 -0500
parents 4dfb2df418f2
children aa3d708d67c4
comparison
equal deleted inserted replaced
4071:ed80554efa25 4072:8aae2050e83e
234 void update_sets() { 234 void update_sets() {
235 // We'll recalculate total used bytes and recreate the free list 235 // We'll recalculate total used bytes and recreate the free list
236 // at the end of the GC, so no point in updating those values here. 236 // at the end of the GC, so no point in updating those values here.
237 _g1h->update_sets_after_freeing_regions(0, /* pre_used */ 237 _g1h->update_sets_after_freeing_regions(0, /* pre_used */
238 NULL, /* free_list */ 238 NULL, /* free_list */
239 NULL, /* old_proxy_set */
239 &_humongous_proxy_set, 240 &_humongous_proxy_set,
240 false /* par */); 241 false /* par */);
241 } 242 }
242 243
243 bool doHeapRegion(HeapRegion* hr) { 244 bool doHeapRegion(HeapRegion* hr) {