mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7121618: Change type of number of GC workers to unsigned int
Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id). Reviewed-by: brutisso, tonyp
This commit is contained in:
parent
1de50427de
commit
0ebc10bb13
27 changed files with 300 additions and 297 deletions
|
@ -703,7 +703,7 @@ HeapWord* GenCollectedHeap::satisfy_failed_allocation(size_t size, bool is_tlab)
|
|||
return collector_policy()->satisfy_failed_allocation(size, is_tlab);
|
||||
}
|
||||
|
||||
void GenCollectedHeap::set_par_threads(int t) {
|
||||
void GenCollectedHeap::set_par_threads(uint t) {
|
||||
SharedHeap::set_par_threads(t);
|
||||
_gen_process_strong_tasks->set_n_threads(t);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue