Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1CollectionSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void G1CollectionSet::abandon_all_candidates() {
}

void G1CollectionSet::prepare_for_scan () {
groups()->prepare_for_scan();
_groups.prepare_for_scan();
}

void G1CollectionSet::add_old_region(G1HeapRegion* hr) {
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/share/gc/g1/g1CollectionSet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ class G1CollectionSet {
G1CollectionSetCandidates* candidates() { return &_candidates; }
const G1CollectionSetCandidates* candidates() const { return &_candidates; }

G1CSetCandidateGroupList* groups() { return &_groups; }
const G1CSetCandidateGroupList* groups() const { return &_groups; }

void prepare_for_scan();

void init_region_lengths(uint eden_cset_region_length,
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1CollectionSet.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ inline void G1CollectionSet::merge_cardsets_for_collection_groups(CardOrRangeVis
uint cur_pos = start_pos;
uint count = 0;
do {
G1HeapRegionRemSet::iterate_for_merge(groups()->at(offset + cur_pos)->card_set(), cl);
G1HeapRegionRemSet::iterate_for_merge(_groups.at(offset + cur_pos)->card_set(), cl);
cur_pos++;
count++;
if (cur_pos == length) {
Expand Down