Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 22 of 22) sorted by relevance

/art/runtime/
Dthread_pool.cc49 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
142 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
151 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
162 ThreadPool::ThreadPool(const char* name, in ThreadPool() function in art::ThreadPool
182 void ThreadPool::CreateThreads() { in CreateThreads()
199 void ThreadPool::WaitForWorkersToBeCreated() { in WaitForWorkersToBeCreated()
203 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
209 void ThreadPool::DeleteThreads() { in DeleteThreads()
225 void ThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers()
231 ThreadPool::~ThreadPool() { in ~ThreadPool()
[all …]
Dthread_pool.h30 class ThreadPool; variable
95 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
99 ThreadPool* const thread_pool_;
106 friend class ThreadPool;
111 class ThreadPool {
138 ThreadPool(const char* name,
142 virtual ~ThreadPool();
214 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
Dthread_pool_test.cc64 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
79 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
104 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
127 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask()
146 ThreadPool* const thread_pool_;
154 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
195 ThreadPool thread_pool("Thread pool test thread pool", 1); in TEST_F()
207 ThreadPool thread_pool("Thread pool test thread pool", 1, true); in TEST_F()
Dbarrier_test.cc63 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F()
114 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F()
Doat_file_manager.h43 class ThreadPool; variable
162 std::unique_ptr<ThreadPool> verification_thread_pool_;
Dmonitor_test.cc269 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
350 ThreadPool thread_pool("the pool", 2); in TEST_F()
Druntime.h112 class ThreadPool; variable
959 ThreadPool* GetThreadPool() const { in GetThreadPool()
964 ThreadPool* const thread_pool_;
1080 ThreadPool* AcquireThreadPool() REQUIRES(!Locks::runtime_thread_pool_lock_);
1179 std::unique_ptr<ThreadPool> thread_pool_ GUARDED_BY(Locks::runtime_thread_pool_lock_);
Doat_file_manager.cc768 new ThreadPool("Verification thread pool", /* num_threads= */ 1)); in RunBackgroundVerification()
Druntime.cc1105 thread_pool_.reset(new ThreadPool("Runtime", num_workers, /*create_peers=*/false, kStackSize)); in InitNonZygoteOrPostFork()
3126 std::unique_ptr<ThreadPool> thread_pool; in DeleteThreadPool()
3136 ThreadPool* Runtime::AcquireThreadPool() { in AcquireThreadPool()
Doat_file_assistant_test.cc1314 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver.h239 ThreadPool* thread_pool,
259 ThreadPool* thread_pool,
270 ThreadPool* thread_pool,
322 std::unique_ptr<ThreadPool> parallel_thread_pool_;
325 std::unique_ptr<ThreadPool> single_thread_pool_;
Dcompiler_driver.cc527 ThreadPool* resolve_thread_pool = force_determinism in Resolve()
1359 ThreadPool* thread_pool) in ParallelCompilationManager()
1460 ThreadPool* const thread_pool_;
1669 ThreadPool* thread_pool, in ResolveDexFile()
1840 ThreadPool* verify_thread_pool = in Verify()
2017 ThreadPool* thread_pool, in VerifyDexFile()
2087 ThreadPool* thread_pool, in SetVerifiedDexFile()
2516 ThreadPool* init_thread_pool = force_determinism in InitializeClasses()
2559 ThreadPool* thread_pool, in CompileDexFile()
2783 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools()
[all …]
/art/runtime/gc/
Dtask_processor_test.cc66 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
136 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
Dheap.h58 class ThreadPool; variable
758 ThreadPool* GetThreadPool() { in GetThreadPool()
1491 std::unique_ptr<ThreadPool> thread_pool_;
Dheap.cc1064 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
/art/dex2oat/linker/
Delf_writer_quick.cc130 std::unique_ptr<ThreadPool> debug_info_thread_pool_;
258 debug_info_thread_pool_ = std::make_unique<ThreadPool>("Mini-debug-info writer", 1); in PrepareDebugInfo()
/art/runtime/jit/
Djit.h386 ThreadPool* GetThreadPool() const { in GetThreadPool()
498 std::unique_ptr<ThreadPool> thread_pool_;
Djit.cc373 std::unique_ptr<ThreadPool> pool; in DeleteThreadPool()
1188 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool()
Djit_code_cache.cc1799 ThreadPool* pool = Runtime::Current()->GetJit()->GetThreadPool(); in PostForkChildAction()
/art/runtime/gc/collector/
Dmark_sweep.cc673 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask()
769 ThreadPool* const thread_pool_;
831 CardScanTask(ThreadPool* thread_pool, in CardScanTask()
882 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects()
996 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask()
1034 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark()
1394 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
/art/runtime/gc/space/
Dlarge_object_space_test.cc164 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()
Dimage_space.cc983 ThreadPool* const pool = stpu.GetThreadPool(); in LoadImageFile()