Searched refs:task (Results 1 – 3 of 3) sorted by relevance
/art/runtime/ |
D | thread_pool.cc | 50 Task* task = NULL; in Run() local 52 while ((task = thread_pool_->GetTask(self)) != NULL) { in Run() 53 task->Run(self); in Run() 54 task->Finalize(); in Run() 68 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() argument 70 tasks_.push_back(task); in AddTask() 140 Task* task = TryGetTaskLocked(self); in GetTask() local 141 if (task != NULL) { in GetTask() 142 return task; in GetTask() 171 Task* task = tasks_.front(); in TryGetTaskLocked() local [all …]
|
D | thread_pool.h | 79 void AddTask(Thread* self, Task* task);
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 634 auto* task = new MarkStackTask(thread_pool_, mark_sweep_, kMaxSize - mark_stack_pos_, in MarkStackPush() local 636 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush() 773 auto* task = new CardScanTask(thread_pool, this, space->GetMarkBitmap(), card_begin, in ScanGrayObjects() local 776 thread_pool->AddTask(self, task); in ScanGrayObjects() 878 auto* task = new RecursiveMarkTask(thread_pool, this, current_space_bitmap_, start, in RecursiveMark() local 880 thread_pool->AddTask(self, task); in RecursiveMark()
|