Searched refs:thread_pool_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | thread_pool_test.cc | 128 : 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
|
D | thread_pool.cc | 44 : 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()
|
D | thread_pool.h | 72 ThreadPool* const thread_pool_; variable
|
/art/runtime/jit/ |
D | jit.cc | 329 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 …]
|
D | jit.h | 170 return thread_pool_.get(); in GetThreadPool() 208 std::unique_ptr<ThreadPool> thread_pool_; variable
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 676 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/ |
D | compiler_driver.cc | 1521 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/ |
D | heap.h | 698 return thread_pool_.get(); in GetThreadPool() 1295 std::unique_ptr<ThreadPool> thread_pool_; variable
|
D | heap.cc | 898 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool() 914 thread_pool_.reset(nullptr); in DeleteThreadPool()
|