8333917: G1: Refactor G1CollectedHeap::register_old_region_with_region_attr
Reviewed-by: gli, tschatzl
This commit is contained in:
parent
0e4d4a0c31
commit
788b876ebd
@ -227,7 +227,7 @@ void G1CollectedHeap::register_region_with_region_attr(G1HeapRegion* r) {
|
||||
void G1CollectedHeap::register_old_region_with_region_attr(G1HeapRegion* r) {
|
||||
assert(!r->has_pinned_objects(), "must be");
|
||||
assert(r->rem_set()->is_complete(), "must be");
|
||||
_region_attr.set_in_old(r->hrm_index(), r->rem_set()->is_tracked());
|
||||
_region_attr.set_in_old(r->hrm_index(), true);
|
||||
_rem_set->exclude_region_from_scan(r->hrm_index());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user