hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp
changeset 31330 77061bb01b18
parent 30765 32398da8ba8f
child 31592 43f48e165466
--- a/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp	Thu Jun 04 14:29:34 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp	Fri Jun 05 09:50:09 2015 +0200
@@ -817,7 +817,7 @@
 // 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(), (uint)ParallelGCThreads);
+  return MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), ParallelGCThreads);
 }
 
 HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa,