8382620: G1: Remove unused G1RefineRegionClosure::_num_collections_at_start

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2026-04-21 14:49:15 +00:00
parent a1dee68858
commit 1ba7825d70

View File

@ -35,8 +35,6 @@ class G1RefineRegionClosure : public G1HeapRegionClosure {
uint _worker_id;
size_t _num_collections_at_start;
bool has_work(G1HeapRegion* r) {
return _scan_state->has_unclaimed_cards(r->hrm_index());
}
@ -189,4 +187,4 @@ void G1ConcurrentRefineSweepTask::work(uint worker_id) {
_stats->add_atomic(&sweep_cl._refine_stats);
}
bool G1ConcurrentRefineSweepTask::sweep_completed() const { return _sweep_completed; }
bool G1ConcurrentRefineSweepTask::sweep_completed() const { return _sweep_completed; }