Home
last modified time | relevance | path

Searched refs:HeapTask (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/
Dtask_processor.h30 class HeapTask : public SelfDeletingTask {
32 explicit HeapTask(uint64_t target_run_time) : target_run_time_(target_run_time) { in HeapTask() function
49 DISALLOW_IMPLICIT_CONSTRUCTORS(HeapTask);
57 void AddTask(Thread* self, HeapTask* task) REQUIRES(!lock_);
58 HeapTask* GetTask(Thread* self) REQUIRES(!lock_);
65 void UpdateTargetRunTime(Thread* self, HeapTask* target_time, uint64_t new_target_time)
72 bool operator()(const HeapTask* a, const HeapTask* b) const { in operator()
80 std::multiset<HeapTask*, CompareByTargetRunTime> tasks_ GUARDED_BY(lock_);
Dtask_processor.cc35 for (HeapTask* task : tasks_) { in ~TaskProcessor()
41 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask()
48 HeapTask* TaskProcessor::GetTask(Thread* self) { in GetTask()
60 HeapTask* task = *tasks_.begin(); in GetTask()
79 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) { in UpdateTargetRunTime()
127 HeapTask* task = GetTask(self); in RunAllTasks()
Dtask_processor_test.cc30 class RecursiveTask : public HeapTask {
33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask()
103 class TestOrderTask : public HeapTask {
106 : HeapTask(expected_time), expected_counter_(expected_counter), counter_(counter) { in TestOrderTask()
Dreference_processor.cc276 class ClearedReferenceTask : public HeapTask {
279 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
Dheap.h72 class HeapTask; variable
924 bool AddHeapTask(gc::HeapTask* task);
/art/runtime/
Druntime.cc2954 class Runtime::NotifyStartupCompletedTask : public gc::HeapTask {
2956 NotifyStartupCompletedTask() : gc::HeapTask(/*target_run_time=*/ NanoTime()) {} in NotifyStartupCompletedTask()