< prev index next >
src/share/vm/gc/g1/heapRegionRemSet.cpp
Print this page
rev 9771 : imported patch 8145667-move-fromcardcache-into-separate-files
rev 9772 : imported patch 8145671-rename-fromcardcache-to-g1fromcardcache
rev 9773 : imported patch 8145672-remove-dependency-of-g1fromcardcache-to-heapregionremset
@@ -685,17 +685,10 @@
void
OtherRegionsTable::do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task) {
_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),
_m(Mutex::leaf, FormatBuffer<128>("HeapRegionRemSet lock #%u", hr->hrm_index()), true, Monitor::_safepoint_check_never),
_code_roots(), _other_regions(hr, &_m), _iter_state(Unclaimed), _iter_claimed(0) {
< prev index next >