Home
last modified time | relevance | path

Searched refs:gc_ (Results 1 – 10 of 10) sorted by relevance

/ark/runtime_core/runtime/mem/gc/
Dgc_scoped_phase.cpp26 gc_ = gc; in GCScopedPhase()
27 gc_->BeginTracePoint(GetPhaseName(new_phase)); in GCScopedPhase()
29 old_phase_ = gc_->GetGCPhase(); in GCScopedPhase()
30 gc_->SetGCPhase(phase_); in GCScopedPhase()
38 gc_->SetGCPhase(old_phase_); in ~GCScopedPhase()
39 gc_->EndTracePoint(); in ~GCScopedPhase()
46 GCType type = gc_->GetType(); in GetGCName()
Dgc_queue.cpp30 if (!gc_->IsGCRunning()) { in GetTask()
39 while (gc_->IsGCRunning() && (task->GetTargetTime() >= current_time)) { in GetTask()
58 task->Release(gc_->GetInternalAllocator()); in AddTask()
66 task->Release(gc_->GetInternalAllocator()); in AddTask()
79 InternalAllocatorPtr allocator = gc_->GetInternalAllocator(); in Finalize()
Dgc_queue.h55 explicit GCQueueWithTime(GC *gc) : gc_(gc) {} in GCQueueWithTime()
87 GC *gc_; variable
Dgc.cpp542 gc_ = gc; in ConcurrentScope()
550 if (started_ && gc_->IsConcurrencyAllowed()) { in ~ConcurrentScope()
551 gc_->GetPandaVm()->GetRendezvous()->SafepointBegin(); in ~ConcurrentScope()
552 gc_->GetPandaVm()->GetMemStats()->RecordGCPauseStart(); in ~ConcurrentScope()
558 if (!started_ && gc_->IsConcurrencyAllowed()) { in Start()
559 gc_->GetPandaVm()->GetRendezvous()->SafepointEnd(); in Start()
560 gc_->GetPandaVm()->GetMemStats()->RecordGCPauseEnd(); in Start()
Dgc_scoped_phase.h106 GC *gc_; variable
Dgc.h854 GC *gc_;
/ark/runtime_core/runtime/mem/
Dmemory_manager.cpp91 heap_manager_->GetInternalAllocator()->Delete(gc_); in ~MemoryManager()
110 gc_->Initialize(); in InitializeGC()
111 gc_->AddListener(gc_trigger_); in InitializeGC()
116 gc_->PreStartup(); in PreStartup()
121 gc_->PreZygoteFork(); in PreZygoteFork()
127 gc_->PostZygoteFork(); in PostZygoteFork()
132 gc_->StartGC(); in StartGC()
137 gc_->StopGC(); in StopGC()
Dmemory_manager.h103 ASSERT(gc_ != nullptr); in GetGC()
104 return gc_; in GetGC()
137 gc_(gc), in MemoryManager()
148 GC *gc_; variable
Dheap_manager.h156 return gc_; in GetGC()
238 mem::GC *gc_ = nullptr; variable
Dheap_manager.cpp83 gc_ = vm_->GetGC(); in SetPandaVM()