Skip to content

Commit

Permalink
8333917: G1: Refactor G1CollectedHeap::register_old_region_with_regio…
Browse files Browse the repository at this point in the history
…n_attr

Reviewed-by: gli, tschatzl
  • Loading branch information
albertnetymk committed Jun 11, 2024
1 parent 0e4d4a0 commit 788b876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 788b876

Please sign in to comment.