/art/runtime/ |
D | thread_pool.cc | 29 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() 69 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 78 ThreadPool::ThreadPool(const char* name, size_t num_threads) in ThreadPool() function in art::ThreadPool 101 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers() 107 ThreadPool::~ThreadPool() { in ~ThreadPool() 121 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 129 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 134 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 166 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() 171 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked() [all …]
|
D | thread_pool.h | 29 class ThreadPool; variable 63 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 67 ThreadPool* const thread_pool_; 73 friend class ThreadPool; 77 class ThreadPool { 94 explicit ThreadPool(const char* name, size_t num_threads); 95 virtual ~ThreadPool(); 144 DISALLOW_COPY_AND_ASSIGN(ThreadPool); 175 WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 183 class WorkStealingThreadPool : public 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 | 329 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
|
D | oat_file_assistant_test.cc | 963 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
|
/art/compiler/driver/ |
D | compiler_driver.h | 551 ThreadPool* thread_pool, TimingLogger* timings) 560 ThreadPool* thread_pool, TimingLogger* timings) 564 ThreadPool* thread_pool, TimingLogger* timings) 568 ThreadPool* thread_pool, TimingLogger* timings); 571 ThreadPool* thread_pool, TimingLogger* timings) 575 ThreadPool* thread_pool, TimingLogger* timings); 578 ThreadPool* thread_pool, TimingLogger* timings) 582 ThreadPool* thread_pool, TimingLogger* timings) 586 ThreadPool* thread_pool, TimingLogger* timings) 594 ThreadPool* thread_pool, TimingLogger* timings); [all …]
|
D | compiler_driver.cc | 501 std::unique_ptr<ThreadPool> thread_pool( in CompileAll() 502 new ThreadPool("Compiler driver thread pool", thread_count_ - 1)); in CompileAll() 569 std::unique_ptr<ThreadPool> thread_pool(new ThreadPool("Compiler driver thread pool", 0U)); in CompileOne() 613 ThreadPool* thread_pool, TimingLogger* timings) { in Resolve() 622 ThreadPool* thread_pool, TimingLogger* timings) { in PreCompile() 1581 ThreadPool* thread_pool) in ParallelCompilationManager() 1671 ThreadPool* const thread_pool_; 1851 ThreadPool* thread_pool, TimingLogger* timings) { in ResolveDexFile() 1871 ThreadPool* thread_pool, TimingLogger* timings) { in SetVerified() 1880 ThreadPool* thread_pool, TimingLogger* timings) { in Verify() [all …]
|
/art/runtime/gc/ |
D | task_processor_test.cc | 66 ThreadPool thread_pool("task processor test", 1U); in TEST_F() 137 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
|
D | heap.h | 612 ThreadPool* GetThreadPool() { in GetThreadPool() 1080 std::unique_ptr<ThreadPool> thread_pool_;
|
D | heap.cc | 779 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
|
/art/runtime/jit/ |
D | jit_instrumentation.h | 60 std::unique_ptr<ThreadPool> thread_pool_;
|
D | jit_instrumentation.cc | 59 thread_pool_.reset(new ThreadPool("Jit thread pool", 1)); in CreateThreadPool()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 633 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size, in MarkStackTask() 705 ThreadPool* const thread_pool_; 764 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, in CardScanTask() 808 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects() 910 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, in RecursiveMarkTask() 944 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark() 1290 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()
|