/art/runtime/ |
D | thread_pool.cc | 36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() 94 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 103 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks() 108 ThreadPool::ThreadPool(const char* name, size_t num_threads) in ThreadPool() function in art::ThreadPool 132 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers() 138 ThreadPool::~ThreadPool() { in ~ThreadPool() 152 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 160 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 165 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 197 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; 80 class ThreadPool { 100 ThreadPool(const char* name, size_t num_threads); 101 virtual ~ThreadPool(); 153 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
|
D | thread_pool_test.cc | 63 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F() 78 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F() 103 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() 122 ThreadPool* const thread_pool_; 130 ThreadPool thread_pool("Thread pool test thread pool", num_threads); 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 | 320 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
|
D | oat_file_assistant_test.cc | 1307 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() 2707 ThreadPool* thread_pool, in CompileDexFile() 2892 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools() 2893 single_thread_pool_.reset(new ThreadPool("Single-threaded Compiler driver thread pool", 0)); in InitializeThreadPools()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 649 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask() 745 ThreadPool* const thread_pool_; 807 CardScanTask(ThreadPool* thread_pool, in CardScanTask() 858 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects() 972 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask() 1010 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark() 1371 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 | 283 thread_pool_.reset(new ThreadPool("Jit thread pool", 1)); in CreateThreadPool() 292 ThreadPool* cache = nullptr; in DeleteThreadPool()
|