6407976: GC worker number should be unsigned

Reviewed-by: jwilhelm, tschatzl
This commit is contained in:
Evgeniya Stepanova 2015-04-29 15:12:33 +03:00
parent 4ff6849791
commit 19e80a1f8f
16 changed files with 91 additions and 95 deletions

View file

@ -329,6 +329,6 @@ void G1RootProcessor::scan_remembered_sets(G1ParPushHeapRSClosure* scan_rs,
_g1h->g1_rem_set()->oops_into_collection_set_do(scan_rs, &scavenge_cs_nmethods, worker_i);
}
void G1RootProcessor::set_num_workers(int active_workers) {
void G1RootProcessor::set_num_workers(uint active_workers) {
_process_strong_tasks->set_n_threads(active_workers);
}