1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Tue Apr 08 14:55:16 2014 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Thu Apr 03 17:49:31 2014 +0400 1.3 @@ -853,7 +853,7 @@ 1.4 // This can be done by either mutator threads together with the 1.5 // concurrent refinement threads or GC threads. 1.6 uint HeapRegionRemSet::num_par_rem_sets() { 1.7 - return (uint)MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), ParallelGCThreads); 1.8 + return MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), (uint)ParallelGCThreads); 1.9 } 1.10 1.11 HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa,