Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed May 4, 2024
1 parent fa3d82b commit 4d175e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1CollectionSetCandidates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void G1CollectionSetCandidates::clear() {
void G1CollectionSetCandidates::sort_marking_by_efficiency() {
G1CollectionCandidateListIterator iter = _marking_regions.begin();
for (; iter != _marking_regions.end(); ++iter) {
HeapRegion* hr = (*iter)->_r;
G1HeapRegion* hr = (*iter)->_r;
(*iter)->_gc_efficiency = hr->calc_gc_efficiency();
}
_marking_regions.sort_by_efficiency();
Expand Down

0 comments on commit 4d175e2

Please sign in to comment.