Lines Matching refs:thread_pool_
365 if (thread_pool_ != nullptr) { in WaitForWorkersToBeCreated()
366 thread_pool_->WaitForWorkersToBeCreated(); in WaitForWorkersToBeCreated()
372 if (thread_pool_ != nullptr) { in DeleteThreadPool()
378 pool = std::move(thread_pool_); in DeleteThreadPool()
1188 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool()
1191 thread_pool_->SetPthreadPriority( in CreateThreadPool()
1211 thread_pool_->AddTask(Thread::Current(), new ZygoteVerificationTask()); in CreateThreadPool()
1217 thread_pool_->AddTask(Thread::Current(), new ZygoteTask()); in CreateThreadPool()
1302 thread_pool_->AddTask(Thread::Current(), new JitProfileTask(dex_files, class_loader)); in RegisterDexFiles()
1347 thread_pool_->AddTask(self, task); in CompileMethodFromProfile()
1467 thread_pool_->AddTask(self, task); in CompileMethodsFromProfile()
1498 if (thread_pool_ == nullptr) { in MaybeCompileMethod()
1528 DCHECK(thread_pool_ != nullptr); in MaybeCompileMethod()
1529 thread_pool_->AddTask( in MaybeCompileMethod()
1541 DCHECK(thread_pool_ != nullptr); 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()
1604 thread_pool_->Wait(self, false, false); in WaitForCompilationToFinish()
1691 thread_pool_.reset(nullptr); in PostForkChildAction()
1715 if (thread_pool_ == nullptr) { in PreZygoteFork()
1718 thread_pool_->DeleteThreads(); in PreZygoteFork()
1725 if (thread_pool_ == nullptr) { in PostZygoteFork()
1744 thread_pool_->CreateThreads(); in PostZygoteFork()
1745 thread_pool_->SetPthreadPriority( in PostZygoteFork()
1760 thread_pool_->AddTask(self, task); in BootCompleted()
1794 if (thread_pool_ == nullptr) { in EnqueueCompilationFromNterp()
1800 thread_pool_->AddTask( in EnqueueCompilationFromNterp()
1806 thread_pool_->AddTask( in EnqueueCompilationFromNterp()
1810 thread_pool_->AddTask( in EnqueueCompilationFromNterp()