Searched refs:ThreadPool (Results 1 - 11 of 11) sorted by relevance

/art/runtime/
H A Dthread_pool.h30 class ThreadPool;
50 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
54 ThreadPool* const thread_pool_;
60 friend class ThreadPool;
64 class ThreadPool { class in namespace:art
81 explicit ThreadPool(const char* name, size_t num_threads);
82 virtual ~ThreadPool();
131 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
162 WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
170 class WorkStealingThreadPool : public ThreadPool {
[all...]
H A Dthread_pool.cc28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
68 void ThreadPool::AddTask(Thread* self, Task* task) {
77 ThreadPool::ThreadPool(const char* name, size_t num_threads) function in class:art::ThreadPool
99 void ThreadPool::SetMaxActiveWorkers(size_t threads) {
105 ThreadPool::~ThreadPool() {
119 void ThreadPool::StartWorkers(Thread* self) {
127 void ThreadPool::StopWorkers(Thread* self) {
132 Task* ThreadPool
[all...]
H A Dthread_pool_test.cc63 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
78 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
107 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth)
126 ThreadPool* const thread_pool_;
134 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
H A Dbarrier_test.cc63 ThreadPool thread_pool("Barrier test thread pool", num_threads);
114 ThreadPool thread_pool("Barrier test thread pool", num_threads);
H A Dmonitor_test.cc328 ThreadPool thread_pool(pool_name, 3);
/art/compiler/driver/
H A Dcompiler_driver.h704 ThreadPool* thread_pool, TimingLogger* timings)
713 ThreadPool* thread_pool, TimingLogger* timings)
717 ThreadPool* thread_pool, TimingLogger* timings)
721 ThreadPool* thread_pool, TimingLogger* timings);
724 ThreadPool* thread_pool, TimingLogger* timings)
728 ThreadPool* thread_pool, TimingLogger* timings);
731 ThreadPool* thread_pool, TimingLogger* timings)
735 ThreadPool* thread_pool, TimingLogger* timings)
739 ThreadPool* thread_pool, TimingLogger* timings)
747 ThreadPool* thread_poo
[all...]
H A Dcompiler_driver.cc510 std::unique_ptr<ThreadPool> thread_pool(new ThreadPool("Compiler driver thread pool", thread_count_ - 1));
574 std::unique_ptr<ThreadPool> thread_pool(new ThreadPool("Compiler driver thread pool", 0U));
597 ThreadPool* thread_pool, TimingLogger* timings) {
606 ThreadPool* thread_pool, TimingLogger* timings) {
1455 ThreadPool* thread_pool)
1545 ThreadPool* const thread_pool_;
1727 ThreadPool* thread_pool, TimingLogger* timings) {
1747 ThreadPool* thread_poo
[all...]
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc135 ThreadPool thread_pool("Large object space test thread pool", kNumThreads);
/art/runtime/gc/collector/
H A Dmark_sweep.cc552 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size,
624 ThreadPool* const thread_pool_;
682 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
727 ThreadPool* thread_pool = GetHeap()->GetThreadPool();
817 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
851 ThreadPool* thread_pool = heap_->GetThreadPool();
1168 ThreadPool* thread_pool = GetHeap()->GetThreadPool();
/art/runtime/gc/
H A Dheap.h575 ThreadPool* GetThreadPool() {
952 std::unique_ptr<ThreadPool> thread_pool_;
H A Dheap.cc700 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads));

Completed in 261 milliseconds