Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool_test.cc104 : 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
Dthread_pool.cc38 : 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()
Dthread_pool.h70 ThreadPool* const thread_pool_; variable
/art/runtime/jit/
Djit.cc283 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 …]
Djit.h199 std::unique_ptr<ThreadPool> thread_pool_; variable
/art/runtime/gc/collector/
Dmark_sweep.cc654 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/
Dcompiler_driver.cc1872 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/
Dheap.h665 return thread_pool_.get(); in GetThreadPool()
1214 std::unique_ptr<ThreadPool> thread_pool_; variable
Dheap.cc966 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
1060 thread_pool_.reset(nullptr); in DeleteThreadPool()