Searched refs:ThreadPool (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | thread_pool.h | 30 class ThreadPool; variable 49 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 53 ThreadPool* const thread_pool_; 59 friend class ThreadPool; 63 class ThreadPool { 80 explicit ThreadPool(size_t num_threads); 81 virtual ~ThreadPool(); 129 DISALLOW_COPY_AND_ASSIGN(ThreadPool); 160 WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 168 class WorkStealingThreadPool : public ThreadPool {
|
D | thread_pool.cc | 28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() 65 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() 74 ThreadPool::ThreadPool(size_t num_threads) in ThreadPool() function in art::ThreadPool 95 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers() 101 ThreadPool::~ThreadPool() { in ~ThreadPool() 115 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers() 123 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers() 128 Task* ThreadPool::GetTask(Thread* self) { in GetTask() 160 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask() 165 Task* ThreadPool::TryGetTaskLocked(Thread* self) { in TryGetTaskLocked() [all …]
|
D | thread_pool_test.cc | 62 ThreadPool thread_pool(num_threads); in TEST_F() 77 ThreadPool thread_pool(num_threads); in TEST_F() 105 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask() 124 ThreadPool* const thread_pool_; 132 ThreadPool thread_pool(num_threads); in TEST_F()
|
D | barrier_test.cc | 69 ThreadPool thread_pool(num_threads); in TEST_F() 124 ThreadPool thread_pool(num_threads); in TEST_F()
|
/art/compiler/driver/ |
D | compiler_driver.h | 331 ThreadPool& thread_pool, base::TimingLogger& timings) 340 ThreadPool& thread_pool, base::TimingLogger& timings) 343 ThreadPool& thread_pool, base::TimingLogger& timings) 347 ThreadPool& thread_pool, base::TimingLogger& timings); 349 ThreadPool& thread_pool, base::TimingLogger& timings) 353 ThreadPool& thread_pool, base::TimingLogger& timings) 356 ThreadPool& thread_pool, base::TimingLogger& timings) 364 ThreadPool& thread_pool, base::TimingLogger& timings); 366 ThreadPool& thread_pool, base::TimingLogger& timings)
|
D | compiler_driver.cc | 492 UniquePtr<ThreadPool> thread_pool(new ThreadPool(thread_count_ - 1)); in CompileAll() 556 UniquePtr<ThreadPool> thread_pool(new ThreadPool(0U)); in CompileOne() 578 ThreadPool& thread_pool, base::TimingLogger& timings) { in Resolve() 587 ThreadPool& thread_pool, base::TimingLogger& timings) { in PreCompile() 1344 ThreadPool& thread_pool) in ParallelCompilationManager() 1430 ThreadPool* const thread_pool_; 1607 ThreadPool& thread_pool, base::TimingLogger& timings) { in ResolveDexFile() 1628 ThreadPool& thread_pool, base::TimingLogger& timings) { in Verify() 1682 ThreadPool& thread_pool, base::TimingLogger& timings) { in VerifyDexFile() 2187 ThreadPool& thread_pool, base::TimingLogger& timings) { in InitializeClasses() [all …]
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 632 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size, in MarkStackTask() 687 ThreadPool* const thread_pool_; 744 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, accounting::SpaceBitmap* bitmap, in CardScanTask() 789 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects() 903 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, in RecursiveMarkTask() 945 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark() 1404 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
|
/art/runtime/gc/ |
D | heap.h | 420 ThreadPool* GetThreadPool() { in GetThreadPool() 638 UniquePtr<ThreadPool> thread_pool_;
|
D | heap.cc | 249 thread_pool_.reset(new ThreadPool(num_threads)); in CreateThreadPool()
|