Searched refs:task (Results 1 – 12 of 12) sorted by relevance
/art/runtime/gc/ |
D | task_processor.cc | 35 for (HeapTask* task : tasks_) { in ~TaskProcessor() 36 task->Finalize(); in ~TaskProcessor() 41 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask() argument 44 tasks_.insert(task); in AddTask() 60 HeapTask* task = *tasks_.begin(); in GetTask() local 63 uint64_t target_time = task->GetTargetRunTime(); in GetTask() 66 return task; in GetTask() 79 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) { in UpdateTargetRunTime() argument 82 auto range = tasks_.equal_range(task); in UpdateTargetRunTime() 84 if (*it == task) { in UpdateTargetRunTime() [all …]
|
D | task_processor_test.cc | 133 auto* task = new TestOrderTask(pair.first, pair.second, &counter); in TEST_F() local 134 task_processor.AddTask(self, task); in TEST_F()
|
D | task_processor.h | 57 void AddTask(Thread* self, HeapTask* task) REQUIRES(!lock_);
|
D | heap.h | 926 bool AddHeapTask(gc::HeapTask* task);
|
D | heap.cc | 4313 bool Heap::AddHeapTask(gc::HeapTask* task) { in AddHeapTask() argument 4318 GetTaskProcessor()->AddTask(self, task); in AddHeapTask()
|
/art/runtime/ |
D | thread_pool.cc | 101 Task* task = nullptr; in Run() local 103 while ((task = thread_pool_->GetTask(self)) != nullptr) { in Run() 104 task->Run(self); in Run() 105 task->Finalize(); in Run() 132 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() argument 134 tasks_.push_back(task); in AddTask() 144 Task* task = nullptr; in RemoveAllTasks() local 145 while ((task = TryGetTask(self)) != nullptr) { in RemoveAllTasks() 146 task->Finalize(); in RemoveAllTasks() 247 Task* task = TryGetTaskLocked(); in GetTask() local [all …]
|
D | thread_pool.h | 125 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_);
|
D | oat_file_assistant_test.cc | 1178 std::unique_ptr<RaceGenerateTask> task( in TEST_F() local 1180 thread_pool.AddTask(self, task.get()); in TEST_F() 1181 tasks.push_back(std::move(task)); in TEST_F() 1188 for (auto& task : tasks) { in TEST_F() local 1189 const OatFile* oat_file = task->GetLoadedOatFile(); in TEST_F()
|
/art/tools/libjavac/src/com/android/javac/ |
D | Javac.java | 88 JavaCompiler.CompilationTask task = mJavac.getTask( in compileWithAnnotationProcessor() local 96 task.setProcessors(Lists.newArrayList(processor)); in compileWithAnnotationProcessor() 98 boolean result = task.call(); in compileWithAnnotationProcessor()
|
/art/test/708-jit-cache-churn/src/ |
D | JitCacheChurnTest.java | 71 private void runTasks(Callable<Integer> task) { in runTasks() argument 73 ensureJitCompiled(task.getClass(), JITTED_METHOD); in runTasks() 79 tasks.add(i, task); in runTasks()
|
/art/runtime/jit/ |
D | jit.cc | 1349 Task* task = new JitCompileTask( in CompileMethodFromProfile() local 1354 tasks_after_boot_.push_back(task); in CompileMethodFromProfile() 1359 thread_pool_->AddTask(self, task); in CompileMethodFromProfile() 1473 JitDoneCompilingProfileTask* task = new JitDoneCompilingProfileTask(dex_files); in CompileMethodsFromProfile() local 1476 tasks_after_boot_.push_back(task); in CompileMethodsFromProfile() 1479 thread_pool_->AddTask(self, task); in CompileMethodsFromProfile() 1825 for (Task* task : tasks) { in BootCompleted() 1826 thread_pool_->AddTask(self, task); in BootCompleted()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 780 auto* task = new MarkStackTask(thread_pool_, in MarkStackPush() local 784 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush() 933 auto* task = new CardScanTask(thread_pool, in ScanGrayObjects() local 942 thread_pool->AddTask(self, task); in ScanGrayObjects() 1061 auto* task = new RecursiveMarkTask(thread_pool, in RecursiveMark() local 1066 thread_pool->AddTask(self, task); in RecursiveMark()
|