--- old/src/hotspot/share/gc/g1/heapRegionRemSet.cpp 2018-11-16 14:39:50.325045445 +0100 +++ new/src/hotspot/share/gc/g1/heapRegionRemSet.cpp 2018-11-16 14:39:49.885031884 +0100 @@ -601,11 +601,6 @@ } } -void -OtherRegionsTable::do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task) { - _sparse_table.do_cleanup_work(hrrs_cleanup_task); -} - HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetTable* bot, HeapRegion* hr) : _bot(bot), @@ -635,10 +630,6 @@ guarantee(G1RSetSparseRegionEntries > 0 && G1RSetRegionEntries > 0 , "Sanity"); } -void HeapRegionRemSet::cleanup() { - SparsePRT::cleanup_all(); -} - void HeapRegionRemSet::clear(bool only_cardset) { MutexLockerEx x(&_m, Mutex::_no_safepoint_check_flag); clear_locked(only_cardset); @@ -822,18 +813,6 @@ return false; } -void HeapRegionRemSet::reset_for_cleanup_tasks() { - SparsePRT::reset_for_cleanup_tasks(); -} - -void HeapRegionRemSet::do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task) { - _other_regions.do_cleanup_work(hrrs_cleanup_task); -} - -void HeapRegionRemSet::finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task) { - SparsePRT::finish_cleanup_task(hrrs_cleanup_task); -} - #ifndef PRODUCT void HeapRegionRemSet::test() { os::sleep(Thread::current(), (jlong)5000, false);