Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool.cc42 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
109 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
118 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
123 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) in ThreadPool() function in art::ThreadPool
148 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers()
154 ThreadPool::~ThreadPool() { in ~ThreadPool()
168 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
176 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
181 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
213 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
[all …]
Dthread_pool.h29 class ThreadPool; variable
68 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
72 ThreadPool* const thread_pool_;
79 friend class ThreadPool;
84 class ThreadPool {
113 ThreadPool(const char* name, size_t num_threads, bool create_peers = false);
114 virtual ~ThreadPool();
173 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()
Dmonitor_test.cc268 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
349 ThreadPool thread_pool("the pool", 2); in TEST_F()
Doat_file_assistant_test.cc1214 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
/art/compiler/driver/
Dcompiler_driver.h410 ThreadPool* thread_pool,
428 ThreadPool* thread_pool,
439 ThreadPool* thread_pool,
517 std::unique_ptr<ThreadPool> parallel_thread_pool_;
521 std::unique_ptr<ThreadPool> single_thread_pool_;
Dcompiler_driver.cc762 ThreadPool* resolve_thread_pool = force_determinism in Resolve()
1514 ThreadPool* thread_pool) in ParallelCompilationManager()
1615 ThreadPool* const thread_pool_;
1830 ThreadPool* thread_pool, in ResolveDexFile()
2006 ThreadPool* verify_thread_pool = in Verify()
2146 ThreadPool* thread_pool, in VerifyDexFile()
2212 ThreadPool* thread_pool, in SetVerifiedDexFile()
2591 ThreadPool* init_thread_pool = force_determinism in InitializeClasses()
2691 ThreadPool* thread_pool, in CompileDexFile()
3012 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.h56 class ThreadPool; variable
697 ThreadPool* GetThreadPool() { in GetThreadPool()
1295 std::unique_ptr<ThreadPool> thread_pool_;
Dheap.cc898 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
/art/dex2oat/linker/
Delf_writer_quick.cc139 std::unique_ptr<ThreadPool> debug_info_thread_pool_;
264 debug_info_thread_pool_ = std::unique_ptr<ThreadPool>( in PrepareDebugInfo()
265 new ThreadPool("Mini-debug-info writer", 1)); in PrepareDebugInfo()
/art/runtime/jit/
Djit.h169 ThreadPool* GetThreadPool() const { in GetThreadPool()
208 std::unique_ptr<ThreadPool> thread_pool_;
Djit.cc329 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool()
339 std::unique_ptr<ThreadPool> pool; in DeleteThreadPool()
/art/runtime/gc/collector/
Dmark_sweep.cc671 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask()
767 ThreadPool* const thread_pool_;
829 CardScanTask(ThreadPool* thread_pool, in CardScanTask()
880 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects()
994 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask()
1032 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark()
1393 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()