mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm, tschatzl
This commit is contained in:
parent
4ff6849791
commit
19e80a1f8f
16 changed files with 91 additions and 95 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue