Lines Matching refs:thread_pool_
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()
710 DCHECK(thread_pool_ != nullptr); in AddSamples()
711 thread_pool_->AddTask(self, new JitCompileTask(method, JitCompileTask::kCompileOsr)); in AddSamples()
755 if (thread_pool_ != nullptr) { in WaitForCompilationToFinish()
756 thread_pool_->Wait(self, false, false); in WaitForCompilationToFinish()