Searched defs:task (Results 1 - 2 of 2) sorted by relevance
/art/runtime/ |
H A D | thread_pool.cc | 47 Task* task = NULL; local 49 while ((task = thread_pool_->GetTask(self)) != NULL) { 50 task->Run(self); 51 task->Finalize(); 65 void ThreadPool::AddTask(Thread* self, Task* task) { argument 67 tasks_.push_back(task); 75 : task_queue_lock_("task queue lock"), 76 task_queue_condition_("task queue condition", task_queue_lock_), 77 completion_condition_("task completion condition", task_queue_lock_), 136 Task* task local 167 Task* task = tasks_.front(); local 176 Task* task = NULL; local 204 Task* task = NULL; local 293 WorkStealingTask* task = worker->task_; local [all...] |
/art/runtime/gc/collector/ |
H A D | mark_sweep.cc | 688 // Thread local mark stack for this task. 695 // Mark stack overflow, give 1/2 the stack to the thread pool as a new work task. 697 auto* task = new MarkStackTask(thread_pool_, mark_sweep_, kMaxSize - mark_stack_pos_, variable 699 thread_pool_->AddTask(Thread::Current(), task); variable 813 // Calculate how much address range each task gets. 827 // Add the new task to the thread pool. 828 auto* task = new CardScanTask(thread_pool, this, space->GetMarkBitmap(), card_begin, local 831 thread_pool->AddTask(self, task); 973 auto* task = new RecursiveMarkTask(thread_pool, this, current_mark_bitmap_, start, local 975 thread_pool->AddTask(self, task); [all...] |
Completed in 3361 milliseconds