src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp

changeset 6552
8847586c9037
parent 6407
ae7336d6337e
child 6680
78bbf4d43a14
equal deleted inserted replaced
6551:81d7a4b28dc5 6552:8847586c9037
851 851
852 // Determines how many threads can add records to an rset in parallel. 852 // Determines how many threads can add records to an rset in parallel.
853 // This can be done by either mutator threads together with the 853 // This can be done by either mutator threads together with the
854 // concurrent refinement threads or GC threads. 854 // concurrent refinement threads or GC threads.
855 uint HeapRegionRemSet::num_par_rem_sets() { 855 uint HeapRegionRemSet::num_par_rem_sets() {
856 return (uint)MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), ParallelGCThreads); 856 return MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), (uint)ParallelGCThreads);
857 } 857 }
858 858
859 HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, 859 HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa,
860 HeapRegion* hr) 860 HeapRegion* hr)
861 : _bosa(bosa), 861 : _bosa(bosa),

mercurial