8016302: Change type of the number of GC workers to unsigned int (2)

Reviewed-by: tschatzl, jwilhelm
This commit is contained in:
Vladimir Kempik 2014-04-03 17:49:31 +04:00
parent a00bf70f6f
commit 0ab60ab172
21 changed files with 96 additions and 98 deletions

View file

@ -853,7 +853,7 @@ OtherRegionsTable::do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task) {
// This can be done by either mutator threads together with the
// concurrent refinement threads or GC threads.
uint HeapRegionRemSet::num_par_rem_sets() {
return (uint)MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), ParallelGCThreads);
return MAX2(DirtyCardQueueSet::num_par_ids() + ConcurrentG1Refine::thread_num(), (uint)ParallelGCThreads);
}
HeapRegionRemSet::HeapRegionRemSet(G1BlockOffsetSharedArray* bosa,