Home
last modified time | relevance | path

Searched refs:HeapTask (Results 1 – 7 of 7) 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.cc3680 class Heap::ConcurrentGCTask : public HeapTask {
3683 : HeapTask(target_time), cause_(cause), force_full_(force_full) {} in ConcurrentGCTask()
3738 class Heap::CollectorTransitionTask : public HeapTask {
3740 explicit CollectorTransitionTask(uint64_t target_time) : HeapTask(target_time) {} in CollectorTransitionTask()
3781 class Heap::HeapTrimTask : public HeapTask {
3783 explicit HeapTrimTask(uint64_t delta_time) : HeapTask(NanoTime() + delta_time) { } in HeapTrimTask()
4263 class Heap::TriggerPostForkCCGcTask : public HeapTask {
4265 explicit TriggerPostForkCCGcTask(uint64_t target_time) : HeapTask(target_time) {} in TriggerPostForkCCGcTask()
4313 bool Heap::AddHeapTask(gc::HeapTask* task) { in AddHeapTask()
Dheap.h72 class HeapTask; variable
926 bool AddHeapTask(gc::HeapTask* task);
/art/runtime/
Druntime.cc2950 class Runtime::NotifyStartupCompletedTask : public gc::HeapTask {
2952 NotifyStartupCompletedTask() : gc::HeapTask(/*target_run_time=*/ NanoTime()) {} in NotifyStartupCompletedTask()