/art/runtime/ |
D | thread_pool.cc | 41 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() 105 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 114 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks() 119 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) in ThreadPool() function in art::ThreadPool 144 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers() 150 ThreadPool::~ThreadPool() { in ~ThreadPool() 164 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 172 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 177 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 209 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() [all …]
|
D | thread_pool.h | 29 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);
|
D | thread_pool_test.cc | 64 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()
|
D | barrier_test.cc | 63 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()
|
D | monitor_test.cc | 321 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup() 402 ThreadPool thread_pool("the pool", 2); in TEST_F()
|
D | oat_file_assistant_test.cc | 1109 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
|
/art/compiler/driver/ |
D | compiler_driver.h | 400 ThreadPool* thread_pool, 418 ThreadPool* thread_pool, 429 ThreadPool* thread_pool, 452 ThreadPool* thread_pool, 511 std::unique_ptr<ThreadPool> parallel_thread_pool_; 515 std::unique_ptr<ThreadPool> single_thread_pool_;
|
D | compiler_driver.cc | 733 ThreadPool* resolve_thread_pool = force_determinism in Resolve() 1508 ThreadPool* thread_pool) in ParallelCompilationManager() 1602 ThreadPool* const thread_pool_; 1823 ThreadPool* thread_pool, in ResolveDexFile() 2004 ThreadPool* verify_thread_pool = in Verify() 2138 ThreadPool* thread_pool, in VerifyDexFile() 2202 ThreadPool* thread_pool, in SetVerifiedDexFile() 2586 ThreadPool* init_thread_pool = force_determinism in InitializeClasses() 2848 ThreadPool* thread_pool, in CompileDexFile() 3019 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools() [all …]
|
/art/runtime/gc/ |
D | task_processor_test.cc | 66 ThreadPool thread_pool("task processor test", 1U); in TEST_F() 136 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
|
D | heap.h | 51 class ThreadPool; variable 687 ThreadPool* GetThreadPool() { in GetThreadPool() 1309 std::unique_ptr<ThreadPool> thread_pool_;
|
D | heap.cc | 900 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
|
/art/compiler/ |
D | elf_writer_quick.cc | 127 std::unique_ptr<ThreadPool> debug_info_thread_pool_; 247 debug_info_thread_pool_ = std::unique_ptr<ThreadPool>( in PrepareDebugInfo() 248 new ThreadPool("Mini-debug-info writer", 1)); in PrepareDebugInfo()
|
/art/runtime/jit/ |
D | jit.h | 170 ThreadPool* GetThreadPool() const { in GetThreadPool() 209 std::unique_ptr<ThreadPool> thread_pool_;
|
D | jit.cc | 324 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool() 334 std::unique_ptr<ThreadPool> pool; in DeleteThreadPool()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 648 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask() 744 ThreadPool* const thread_pool_; 806 CardScanTask(ThreadPool* thread_pool, in CardScanTask() 857 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects() 971 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask() 1009 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark() 1370 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 163 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()
|