< prev index next >

src/share/vm/memory/collectorPolicy.cpp

Print this page
rev 7318 : 8064721: The card tables only ever need two covering regions

*** 150,162 **** bool result = _should_clear_all_soft_refs; set_should_clear_all_soft_refs(false); return result; } ! GenRemSet* CollectorPolicy::create_rem_set(MemRegion whole_heap, ! int max_covered_regions) { ! return new CardTableRS(whole_heap, max_covered_regions); } void CollectorPolicy::cleared_all_soft_refs() { // If near gc overhear limit, continue to clear SoftRefs. SoftRefs may // have been cleared in the last collection but if the gc overhear --- 150,161 ---- bool result = _should_clear_all_soft_refs; set_should_clear_all_soft_refs(false); return result; } ! GenRemSet* CollectorPolicy::create_rem_set(MemRegion whole_heap) { ! return new CardTableRS(whole_heap); } void CollectorPolicy::cleared_all_soft_refs() { // If near gc overhear limit, continue to clear SoftRefs. SoftRefs may // have been cleared in the last collection but if the gc overhear
< prev index next >