Searched refs:thread_pool_ (Results 1 – 11 of 11) sorted by relevance
/aosp12/art/runtime/ |
H A 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
|
H A D | thread_pool.cc | 51 : thread_pool_(thread_pool), in ThreadPoolWorker() 112 thread_pool_->creation_barier_.Pass(self); in Run() 113 while ((task = thread_pool_->GetTask(self)) != nullptr) { in Run() 131 worker->thread_pool_->create_peers_ ? runtime->GetSystemThreadGroup() : nullptr, in Callback() 132 worker->thread_pool_->create_peers_)); in Callback()
|
H A D | thread_pool.h | 99 ThreadPool* const thread_pool_; variable
|
H A D | runtime.h | 966 return thread_pool_; in GetThreadPool() 970 ThreadPool* const thread_pool_; 1185 std::unique_ptr<ThreadPool> thread_pool_ GUARDED_BY(Locks::runtime_thread_pool_lock_);
|
H A D | runtime.cc | 446 CHECK(thread_pool_ == nullptr); in ~Runtime() 1104 CHECK(thread_pool_ == nullptr); in InitNonZygoteOrPostFork() 1105 thread_pool_.reset(new ThreadPool("Runtime", num_workers, /*create_peers=*/false, kStackSize)); in InitNonZygoteOrPostFork() 1106 thread_pool_->StartWorkers(Thread::Current()); in InitNonZygoteOrPostFork() 3117 : thread_pool_(Runtime::Current()->AcquireThreadPool()) {} in ScopedThreadPoolUsage() 3130 thread_pool = std::move(thread_pool_); in DeleteThreadPool() 3139 return thread_pool_.get(); in AcquireThreadPool()
|
/aosp12/art/runtime/jit/ |
H A D | jit.cc | 365 if (thread_pool_ != nullptr) { in WaitForWorkersToBeCreated() 372 if (thread_pool_ != nullptr) { in DeleteThreadPool() 1498 if (thread_pool_ == nullptr) { in MaybeCompileMethod() 1529 thread_pool_->AddTask( in MaybeCompileMethod() 1542 thread_pool_->AddTask( in MaybeCompileMethod() 1552 if (thread_pool_ == nullptr) { in EnqueueOptimizedCompilation() 1559 thread_pool_->AddTask( in EnqueueOptimizedCompilation() 1603 if (thread_pool_ != nullptr) { in WaitForCompilationToFinish() 1800 thread_pool_->AddTask( in EnqueueCompilationFromNterp() 1806 thread_pool_->AddTask( in EnqueueCompilationFromNterp() [all …]
|
H A D | jit.h | 387 return thread_pool_.get(); in GetThreadPool() 498 std::unique_ptr<ThreadPool> thread_pool_; variable
|
/aosp12/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 678 thread_pool_(thread_pool), in MarkStackTask() 769 ThreadPool* const thread_pool_; member in art::gc::collector::MarkSweep::MarkStackTask 780 auto* task = new MarkStackTask(thread_pool_, in MarkStackPush() 784 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush()
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver.cc | 1366 thread_pool_(thread_pool) {} in ParallelCompilationManager() 1405 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda() 1407 thread_pool_->StartWorkers(self); in ForAllLambda() 1414 thread_pool_->Wait(self, true, false); in ForAllLambda() 1417 thread_pool_->StopWorkers(self); in ForAllLambda() 1460 ThreadPool* const thread_pool_; member in art::ParallelCompilationManager
|
/aosp12/art/runtime/gc/ |
H A D | heap.h | 759 return thread_pool_.get(); in GetThreadPool() 1491 std::unique_ptr<ThreadPool> thread_pool_; variable
|
H A D | heap.cc | 1064 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool() 1080 thread_pool_.reset(nullptr); in DeleteThreadPool()
|