Lines Matching refs:thread_pool
632 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size,
635 thread_pool_(thread_pool),
744 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, accounting::SpaceBitmap* bitmap,
747 : MarkStackTask<false>(thread_pool, mark_sweep, mark_stack_size, mark_stack_obj),
789 ThreadPool* thread_pool = GetHeap()->GetThreadPool();
828 auto* task = new CardScanTask(thread_pool, this, space->GetMarkBitmap(), card_begin,
831 thread_pool->AddTask(self, task);
845 thread_pool->SetMaxActiveWorkers(thread_count - 1);
846 thread_pool->StartWorkers(self);
847 thread_pool->Wait(self, true, true);
848 thread_pool->StopWorkers(self);
903 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
905 : MarkStackTask<false>(thread_pool, mark_sweep, 0, NULL),
945 ThreadPool* thread_pool = heap_->GetThreadPool();
973 auto* task = new RecursiveMarkTask(thread_pool, this, current_mark_bitmap_, start,
975 thread_pool->AddTask(self, task);
977 thread_pool->SetMaxActiveWorkers(thread_count - 1);
978 thread_pool->StartWorkers(self);
979 thread_pool->Wait(self, true, true);
980 thread_pool->StopWorkers(self);
1404 ThreadPool* thread_pool = GetHeap()->GetThreadPool();
1411 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta,
1415 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1416 thread_pool->StartWorkers(self);
1417 thread_pool->Wait(self, true, true);
1418 thread_pool->StopWorkers(self);