--- old/src/hotspot/share/gc/g1/heapRegionRemSet.hpp 2018-11-16 14:39:51.963095928 +0100 +++ new/src/hotspot/share/gc/g1/heapRegionRemSet.hpp 2018-11-16 14:39:51.526082460 +0100 @@ -42,11 +42,6 @@ class SparsePRT; class nmethod; -// Essentially a wrapper around SparsePRTCleanupTask. See -// sparsePRT.hpp for more details. -class HRRSCleanupTask : public SparsePRTCleanupTask { -}; - // The "_coarse_map" is a bitmap with one bit for each region, where set // bits indicate that the corresponding region may contain some pointer // into the owning region. @@ -159,8 +154,6 @@ // Clear the entire contents of this remembered set. void clear(); - - void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task); }; class HeapRegionRemSet : public CHeapObj { @@ -340,9 +333,6 @@ // consumed by the strong code roots. size_t strong_code_roots_mem_size(); - // Called during a stop-world phase to perform any deferred cleanups. - static void cleanup(); - static void invalidate_from_card_cache(uint start_idx, size_t num_regions) { G1FromCardCache::invalidate(start_idx, num_regions); } @@ -351,16 +341,7 @@ static void print_from_card_cache() { G1FromCardCache::print(); } -#endif - - // These are wrappers for the similarly-named methods on - // SparsePRT. Look at sparsePRT.hpp for more details. - static void reset_for_cleanup_tasks(); - void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task); - static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task); - // Run unit tests. -#ifndef PRODUCT static void test(); #endif };