mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8365052: G1: Remove G1CollectionSet::groups() accessors
Reviewed-by: ayang, kbarrett
This commit is contained in:
parent
5cc8673841
commit
45726a1f8b
@ -105,7 +105,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) {
|
||||
|
||||
@ -233,9 +233,6 @@ public:
|
||||
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,
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user