Home
last modified time | relevance | path

Searched refs:thread_pool_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/
Dthread_pool_test.cc128 : thread_pool_(thread_pool), in TreeTask()
134 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
135 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
146 ThreadPool* const thread_pool_; member in art::TreeTask
Dthread_pool.cc44 : thread_pool_(thread_pool), in ThreadPoolWorker()
86 thread_pool_->creation_barier_.Wait(self); in Run()
87 while ((task = thread_pool_->GetTask(self)) != nullptr) { in Run()
99 worker->thread_pool_->create_peers_)); in Callback()
Dthread_pool.h72 ThreadPool* const thread_pool_; variable
/art/runtime/jit/
Djit.cc329 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool()
331 thread_pool_->SetPthreadPriority(kJitPoolThreadPthreadPriority); in CreateThreadPool()
338 if (thread_pool_ != nullptr) { in DeleteThreadPool()
344 pool = std::move(thread_pool_); in DeleteThreadPool()
644 if (thread_pool_ == nullptr) { in AddSamples()
658 DCHECK(thread_pool_ != nullptr); in AddSamples()
679 if (thread_pool_ == nullptr) { in AddSamples()
689 thread_pool_->AddTask(self, new JitCompileTask(method, JitCompileTask::kAllocateProfile)); in AddSamples()
698 DCHECK(thread_pool_ != nullptr); in AddSamples()
699 thread_pool_->AddTask(self, new JitCompileTask(method, JitCompileTask::kCompile)); in AddSamples()
[all …]
Djit.h170 return thread_pool_.get(); in GetThreadPool()
208 std::unique_ptr<ThreadPool> thread_pool_; variable
/art/runtime/gc/collector/
Dmark_sweep.cc676 thread_pool_(thread_pool), in MarkStackTask()
767 ThreadPool* const thread_pool_; member in art::gc::collector::MarkSweep::MarkStackTask
778 auto* task = new MarkStackTask(thread_pool_, in MarkStackPush()
782 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush()
/art/compiler/driver/
Dcompiler_driver.cc1521 thread_pool_(thread_pool) {} in ParallelCompilationManager()
1560 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda()
1562 thread_pool_->StartWorkers(self); in ForAllLambda()
1569 thread_pool_->Wait(self, true, false); in ForAllLambda()
1572 thread_pool_->StopWorkers(self); in ForAllLambda()
1615 ThreadPool* const thread_pool_; member in art::ParallelCompilationManager
/art/runtime/gc/
Dheap.h698 return thread_pool_.get(); in GetThreadPool()
1295 std::unique_ptr<ThreadPool> thread_pool_; variable
Dheap.cc898 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
914 thread_pool_.reset(nullptr); in DeleteThreadPool()