Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dthread_pool.cc29 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 …]
Dthread_pool.h29 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 {
Dthread_pool_test.cc63 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()
Dbarrier_test.cc63 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()
Dmonitor_test.cc329 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
Doat_file_assistant_test.cc963 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
/art/compiler/driver/
Dcompiler_driver.h551 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 …]
Dcompiler_driver.cc501 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/
Dtask_processor_test.cc66 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
137 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
Dheap.h612 ThreadPool* GetThreadPool() { in GetThreadPool()
1080 std::unique_ptr<ThreadPool> thread_pool_;
Dheap.cc779 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
/art/runtime/jit/
Djit_instrumentation.h60 std::unique_ptr<ThreadPool> thread_pool_;
Djit_instrumentation.cc59 thread_pool_.reset(new ThreadPool("Jit thread pool", 1)); in CreateThreadPool()
/art/runtime/gc/collector/
Dmark_sweep.cc633 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/
Dlarge_object_space_test.cc154 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()