--- a/src/hotspot/share/gc/g1/heapRegionRemSet.cpp Wed Nov 28 10:52:01 2018 +0100
+++ b/src/hotspot/share/gc/g1/heapRegionRemSet.cpp Wed Nov 28 11:06:58 2018 +0100
@@ -598,11 +598,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),
@@ -632,10 +627,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);
@@ -819,18 +810,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);