mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6984287: Regularize how GC parallel workers are specified
Associate number of GC workers with the workgang as opposed to the task. Reviewed-by: johnc, ysr
This commit is contained in:
parent
3af63c10ab
commit
28e56b8970
29 changed files with 504 additions and 216 deletions
|
@ -656,6 +656,9 @@ protected:
|
|||
bool _unclean_regions_coming;
|
||||
|
||||
public:
|
||||
|
||||
SubTasksDone* process_strong_tasks() { return _process_strong_tasks; }
|
||||
|
||||
void set_refine_cte_cl_concurrency(bool concurrent);
|
||||
|
||||
RefToScanQueue *task_queue(int i) const;
|
||||
|
@ -684,7 +687,7 @@ public:
|
|||
|
||||
void set_par_threads(int t) {
|
||||
SharedHeap::set_par_threads(t);
|
||||
_process_strong_tasks->set_par_threads(t);
|
||||
_process_strong_tasks->set_n_threads(t);
|
||||
}
|
||||
|
||||
virtual CollectedHeap::Name kind() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue