/art/runtime/ |
D | thread_pool.cc | 36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() 99 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 108 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks() 113 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) in ThreadPool() function in art::ThreadPool 138 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers() 144 ThreadPool::~ThreadPool() { in ~ThreadPool() 158 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 166 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 171 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 203 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() [all …]
|
D | thread_pool.h | 29 class ThreadPool; variable 66 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 70 ThreadPool* const thread_pool_; 76 friend class ThreadPool; 81 class ThreadPool { 106 ThreadPool(const char* name, size_t num_threads, bool create_peers = false); 107 virtual ~ThreadPool(); 161 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 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() 123 ThreadPool* const thread_pool_; 131 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F() 172 ThreadPool thread_pool("Thread pool test thread pool", 1); in TEST_F() 184 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 | 1139 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
|
/art/compiler/ |
D | elf_writer_quick.cc | 124 std::unique_ptr<ThreadPool> debug_info_thread_pool_; 231 debug_info_thread_pool_ = std::unique_ptr<ThreadPool>( in PrepareDebugInfo() 232 new ThreadPool("Mini-debug-info writer", 1)); in PrepareDebugInfo()
|
/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 | 49 class ThreadPool; variable 664 ThreadPool* GetThreadPool() { in GetThreadPool() 1214 std::unique_ptr<ThreadPool> thread_pool_;
|
D | heap.cc | 966 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
|
/art/compiler/driver/ |
D | compiler_driver.h | 569 ThreadPool* thread_pool, 580 ThreadPool* thread_pool, 591 ThreadPool* thread_pool, 616 ThreadPool* thread_pool, 683 std::unique_ptr<ThreadPool> parallel_thread_pool_; 687 std::unique_ptr<ThreadPool> single_thread_pool_;
|
D | compiler_driver.cc | 762 ThreadPool* resolve_thread_pool = force_determinism in Resolve() 1865 ThreadPool* thread_pool) in ParallelCompilationManager() 1959 ThreadPool* const thread_pool_; 2180 ThreadPool* thread_pool, in ResolveDexFile() 2314 ThreadPool* thread_pool, in VerifyDexFile() 2378 ThreadPool* thread_pool, in SetVerifiedDexFile() 2495 ThreadPool* init_thread_pool = force_determinism in InitializeClasses() 2724 ThreadPool* thread_pool, in CompileDexFile() 2909 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools() 2910 single_thread_pool_.reset(new ThreadPool("Single-threaded Compiler driver thread pool", 0)); in InitializeThreadPools()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 650 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask() 746 ThreadPool* const thread_pool_; 808 CardScanTask(ThreadPool* thread_pool, in CardScanTask() 859 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects() 973 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask() 1011 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark() 1372 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
|
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 154 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()
|
/art/runtime/jit/ |
D | jit.h | 199 std::unique_ptr<ThreadPool> thread_pool_;
|
D | jit.cc | 291 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool() 301 ThreadPool* cache = nullptr; in DeleteThreadPool()
|