--- a/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp Tue Dec 22 00:08:38 2015 +0000
+++ b/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp Tue Dec 22 11:02:04 2015 +0100
@@ -687,13 +687,6 @@
_sparse_table.do_cleanup_work(hrrs_cleanup_task);
}
-// Determines how many threads can add records to an rset in parallel.
-// This can be done by either mutator threads together with the
-// concurrent refinement threads or GC threads.
-uint HeapRegionRemSet::num_par_rem_sets() {
- return MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), ParallelGCThreads);
-}
-
HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa,
HeapRegion* hr)
: _bosa(bosa),