--- old/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2019-11-18 17:32:48.877574947 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2019-11-18 17:32:48.433572745 +0100 @@ -3602,7 +3602,6 @@ size_t _worker_humongous_total; size_t _worker_humongous_candidates; - bool humongous_region_is_candidate(HeapRegion* region) const { assert(region->is_starts_humongous(), "Must start a humongous object"); @@ -3673,7 +3672,7 @@ virtual bool do_heap_region(HeapRegion* hr) { // First prepare the region for scanning - _g1h->rem_set()->prepare_region_for_scanning(hr); + _g1h->rem_set()->prepare_region_for_scan(hr); // Now check if region is a humongous candidate if (!hr->is_starts_humongous()) { @@ -3695,7 +3694,6 @@ return false; } - }; G1CollectedHeap* _g1h; @@ -3708,9 +3706,7 @@ _g1h(g1h), _claimer(_g1h->workers()->active_workers()), _humongous_total(0), - _humongous_candidates(0) { - - } + _humongous_candidates(0) { } ~G1PrepareEvacuationTask() { _g1h->set_has_humongous_reclaim_candidate(_humongous_candidates > 0);