mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8238160: Uniformize Parallel GC task queue variable names
Reviewed-by: kbarrett, sangheki
This commit is contained in:
parent
1d42f083c1
commit
c16040393c
7 changed files with 37 additions and 38 deletions
|
@ -2178,7 +2178,7 @@ public:
|
|||
AbstractGangTask("MarkFromRootsTask"),
|
||||
_strong_roots_scope(active_workers),
|
||||
_subtasks(),
|
||||
_terminator(active_workers, ParCompactionManager::stack_array()),
|
||||
_terminator(active_workers, ParCompactionManager::oop_task_queues()),
|
||||
_active_workers(active_workers) {
|
||||
_subtasks.set_n_threads(active_workers);
|
||||
_subtasks.set_n_tasks(ParallelRootType::sentinel);
|
||||
|
@ -2210,7 +2210,7 @@ public:
|
|||
AbstractGangTask("PCRefProcTask"),
|
||||
_task(task),
|
||||
_ergo_workers(ergo_workers),
|
||||
_terminator(_ergo_workers, ParCompactionManager::stack_array()) {
|
||||
_terminator(_ergo_workers, ParCompactionManager::oop_task_queues()) {
|
||||
}
|
||||
|
||||
virtual void work(uint worker_id) {
|
||||
|
@ -2626,7 +2626,7 @@ public:
|
|||
UpdateDensePrefixAndCompactionTask(TaskQueue& tq, uint active_workers) :
|
||||
AbstractGangTask("UpdateDensePrefixAndCompactionTask"),
|
||||
_tq(tq),
|
||||
_terminator(active_workers, ParCompactionManager::region_array()),
|
||||
_terminator(active_workers, ParCompactionManager::region_task_queues()),
|
||||
_active_workers(active_workers) {
|
||||
}
|
||||
virtual void work(uint worker_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue