< prev index next >

src/share/vm/gc/g1/g1Allocator.cpp

Print this page
rev 13056 : imported patch 8177044-remove-scan-top

*** 107,119 **** // _retained_old_gc_alloc_region. If we don't // _retained_old_gc_alloc_region will become NULL. This is what we // want either way so no reason to check explicitly for either // condition. _retained_old_gc_alloc_region = old_gc_alloc_region(context)->release(); - if (_retained_old_gc_alloc_region != NULL) { - _retained_old_gc_alloc_region->record_retained_region(); - } } void G1DefaultAllocator::abandon_gc_alloc_regions() { assert(survivor_gc_alloc_region(AllocationContext::current())->get() == NULL, "pre-condition"); assert(old_gc_alloc_region(AllocationContext::current())->get() == NULL, "pre-condition"); --- 107,116 ----
< prev index next >