Searched refs:thread_pool_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | thread_pool_test.cc | 104 : thread_pool_(thread_pool), in TreeTask() 110 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 111 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 122 ThreadPool* const thread_pool_; member in art::TreeTask
|
D | thread_pool.cc | 38 : thread_pool_(thread_pool), in ThreadPoolWorker() 77 thread_pool_->creation_barier_.Wait(self); in Run() 78 while ((task = thread_pool_->GetTask(self)) != nullptr) { in Run()
|
D | thread_pool.h | 70 ThreadPool* const thread_pool_; variable
|
/art/runtime/jit/ |
D | jit.cc | 283 thread_pool_.reset(new ThreadPool("Jit thread pool", 1)); in CreateThreadPool() 284 thread_pool_->SetPthreadPriority(kJitPoolThreadPthreadPriority); in CreateThreadPool() 285 thread_pool_->StartWorkers(Thread::Current()); in CreateThreadPool() 291 if (thread_pool_ != nullptr) { in DeleteThreadPool() 297 cache = thread_pool_.release(); in DeleteThreadPool() 591 if (thread_pool_ == nullptr) { in AddSamples() 601 DCHECK(thread_pool_ != nullptr); in AddSamples() 621 if (thread_pool_ == nullptr) { in AddSamples() 631 thread_pool_->AddTask(self, new JitCompileTask(method, JitCompileTask::kAllocateProfile)); in AddSamples() 640 DCHECK(thread_pool_ != nullptr); in AddSamples() [all …]
|
D | jit.h | 199 std::unique_ptr<ThreadPool> thread_pool_; variable
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 654 thread_pool_(thread_pool), in MarkStackTask() 745 ThreadPool* const thread_pool_; member in art::gc::collector::MarkStackTask 756 auto* task = new MarkStackTask(thread_pool_, in MarkStackPush() 760 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 1872 thread_pool_(thread_pool) {} in ParallelCompilationManager() 1905 thread_pool_->AddTask(self, new ForAllClosure(this, end, visitor)); in ForAll() 1907 thread_pool_->StartWorkers(self); in ForAll() 1914 thread_pool_->Wait(self, true, false); in ForAll() 1917 thread_pool_->StopWorkers(self); in ForAll() 1959 ThreadPool* const thread_pool_; member in art::ParallelCompilationManager
|
/art/runtime/gc/ |
D | heap.h | 665 return thread_pool_.get(); in GetThreadPool() 1214 std::unique_ptr<ThreadPool> thread_pool_; variable
|
D | heap.cc | 966 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool() 1060 thread_pool_.reset(nullptr); in DeleteThreadPool()
|