Home
last modified time | relevance | path

Searched refs:GetEcmaGCStats (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dpartial_gc.cpp30 GCStats *gcStats = heap_->GetEcmaVM()->GetEcmaGCStats(); in RunPhases()
73 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize()
99 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish()
118 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
156 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep()
164 TRACE_GC(GCStats::Scope::ScopeId::ClearNativeObject, heap_->GetEcmaVM()->GetEcmaGCStats()); in ProcessNativeDelete()
185 TRACE_GC(GCStats::Scope::ScopeId::Evacuate, heap_->GetEcmaVM()->GetEcmaGCStats()); in Evacuate()
191 TRACE_GC(GCStats::Scope::ScopeId::ProcessSharedGCRSetWorkList, heap_->GetEcmaVM()->GetEcmaGCStats()); in ProcessSharedGCRSetWorkList()
H A Dfull_gc.cpp29 GCStats *gcStats = heap_->GetEcmaVM()->GetEcmaGCStats(); in RunPhases()
77 TRACE_GC(GCStats::Scope::ScopeId::Initialize, heap_->GetEcmaVM()->GetEcmaGCStats()); in Initialize()
102 TRACE_GC(GCStats::Scope::ScopeId::Mark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
113 TRACE_GC(GCStats::Scope::ScopeId::Sweep, heap_->GetEcmaVM()->GetEcmaGCStats()); in Sweep()
179 TRACE_GC(GCStats::Scope::ScopeId::Finish, heap_->GetEcmaVM()->GetEcmaGCStats()); in Finish()
205 TRACE_GC(GCStats::Scope::ScopeId::ProcessSharedGCRSetWorkList, heap_->GetEcmaVM()->GetEcmaGCStats()); in ProcessSharedGCRSetWorkList()
H A Dheap.cpp98 GetEcmaGCStats()->RecordStatisticBeforeGC(gcType, gcReason); in ForceCollectGarbageWithoutDaemonThread()
380 GetEcmaGCStats()->RecordStatisticBeforeGC(gcType, gcReason); in DaemonCollectGarbage()
1134 GetEcmaGCStats()->SetGCReason(reason); in CollectGarbage()
1136 GetEcmaGCStats()->RecordStatisticBeforeGC(gcType, reason); in CollectGarbage()
1236 GetEcmaGCStats()->RecordStatisticAfterGC(); in CollectGarbage()
1243 GetEcmaGCStats()->PrintGCStatistic(); in CollectGarbage()
1308 GetEcmaGCStats()->PrintGCMemoryStatistic(); in ThrowOutOfMemoryError()
1344 GetEcmaGCStats()->PrintGCMemoryStatistic(); in ThrowOutOfMemoryErrorForDefault()
1363 GetEcmaGCStats()->PrintGCMemoryStatistic(); in FatalOutOfMemoryError()
1733 TRACE_GC(GCStats::Scope::ScopeId::WaitConcurrentMarkFinished, GetEcmaVM()->GetEcmaGCStats()); in CheckOngoingConcurrentMarking()
2180 GCStats *Heap::GetEcmaGCStats() GetEcmaGCStats() function in panda::ecmascript::Heap
[all...]
H A Dparallel_evacuator.cpp74 TRACE_GC(GCStats::Scope::ScopeId::EvacuateSpace, heap_->GetEcmaVM()->GetEcmaGCStats()); in EvacuateSpace()
107 GCStats::Scope sp2(GCStats::Scope::ScopeId::EvacuateRegion, heap_->GetEcmaVM()->GetEcmaGCStats()); in EvacuateSpace()
112 GCStats::Scope sp2(GCStats::Scope::ScopeId::WaitFinish, heap_->GetEcmaVM()->GetEcmaGCStats()); in EvacuateSpace()
233 TRACE_GC(GCStats::Scope::ScopeId::UpdateReference, heap_->GetEcmaVM()->GetEcmaGCStats()); in UpdateReference()
284 GCStats::Scope sp2(GCStats::Scope::ScopeId::UpdateRoot, heap_->GetEcmaVM()->GetEcmaGCStats()); in UpdateReference()
289 GCStats::Scope sp2(GCStats::Scope::ScopeId::UpdateWeekRef, heap_->GetEcmaVM()->GetEcmaGCStats()); in UpdateReference()
299 GCStats::Scope sp2(GCStats::Scope::ScopeId::ProceeWorkload, heap_->GetEcmaVM()->GetEcmaGCStats());\ in UpdateReference()
H A Dconcurrent_marker.cpp50 TRACE_GC(GCStats::Scope::ScopeId::ConcurrentMark, heap_->GetEcmaVM()->GetEcmaGCStats()); in Mark()
66 TRACE_GC(GCStats::Scope::ScopeId::ReMark, heap_->GetEcmaVM()->GetEcmaGCStats()); in ReMark()
H A Dparallel_marker.cpp23 TRACE_GC(GCStats::Scope::ScopeId::MarkRoots, heap_->GetEcmaVM()->GetEcmaGCStats()); in MarkRoots()
90 TRACE_GC(GCStats::Scope::ScopeId::MarkRoots, heap_->GetEcmaVM()->GetEcmaGCStats()); in MarkJitCodeMap()
255 TRACE_GC(GCStats::Scope::ScopeId::MarkRoots, heap_->GetEcmaVM()->GetEcmaGCStats()); in MarkJitCodeMap()
H A Dmem_controller.cpp115 if (heap_->GetEcmaGCStats()->GetGCReason() != GCReason::IDLE) { in StartCalculationBeforeGC()
203 if (heap_->GetEcmaGCStats()->GetGCReason() != GCReason::IDLE) { in StopCalculationAfterGC()
H A Dsparse_space.cpp442 localHeap_->GetEcmaGCStats()->RecordStatisticBeforeGC(TriggerGCType::OLD_GC, GCReason::OTHER); in SelectCSet()
492 localHeap_->GetEcmaGCStats()->SetRecordData( in SelectCSet()
H A Dheap.h177 virtual GCStats *GetEcmaGCStats() = 0;
711 GCStats *GetEcmaGCStats() override
1157 GCStats *GetEcmaGCStats() override;
H A Dheap-inl.h782 GetEcmaGCStats()->RecordStatisticAfterGC(); in CollectGarbageFinish()
783 GetEcmaGCStats()->PrintGCStatistic(); in CollectGarbageFinish()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_full_gc.cpp26 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases()
34 TRACE_GC(GCStats::Scope::ScopeId::TotalGC, sHeap_->GetEcmaGCStats()); in RunPhases()
44 TRACE_GC(GCStats::Scope::ScopeId::Initialize, sHeap_->GetEcmaGCStats()); in Initialize()
63 TRACE_GC(GCStats::Scope::ScopeId::Mark, sHeap_->GetEcmaGCStats()); in Mark()
75 TRACE_GC(GCStats::Scope::ScopeId::Sweep, sHeap_->GetEcmaGCStats()); in Sweep()
115 TRACE_GC(GCStats::Scope::ScopeId::Finish, sHeap_->GetEcmaGCStats()); in Finish()
H A Dshared_gc.cpp28 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases()
36 TRACE_GC(GCStats::Scope::ScopeId::TotalGC, sHeap_->GetEcmaGCStats()); in RunPhases()
58 TRACE_GC(GCStats::Scope::ScopeId::Initialize, sHeap_->GetEcmaGCStats()); in Initialize()
74 TRACE_GC(GCStats::Scope::ScopeId::Mark, sHeap_->GetEcmaGCStats()); in Mark()
89 TRACE_GC(GCStats::Scope::ScopeId::Sweep, sHeap_->GetEcmaGCStats()); in Sweep()
121 TRACE_GC(GCStats::Scope::ScopeId::Finish, sHeap_->GetEcmaGCStats()); in Finish()
H A Dshared_concurrent_marker.cpp50 TRACE_GC(GCStats::Scope::ScopeId::ConcurrentMark, sHeap_->GetEcmaGCStats()); in Mark()
77 TRACE_GC(GCStats::Scope::ScopeId::ReMark, sHeap_->GetEcmaGCStats()); in ReMark()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Ddfx_jsnapi_tests.cpp307 size_t expectGCCount = vm_->GetEcmaGCStats()->GetGCCount() + in HWTEST_F_L0()
308 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetGCCount(); in HWTEST_F_L0()
312 size_t expectGCDuration = vm_->GetEcmaGCStats()->GetGCDuration() + in HWTEST_F_L0()
313 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetGCDuration(); in HWTEST_F_L0()
317 size_t expectAllocateSize = vm_->GetEcmaGCStats()->GetAccumulatedAllocateSize() + in HWTEST_F_L0()
318 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetAccumulatedAllocateSize(); in HWTEST_F_L0()
322 size_t expectFreeSize = vm_->GetEcmaGCStats()->GetAccumulatedFreeSize() + in HWTEST_F_L0()
323 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetAccumulatedFreeSize(); in HWTEST_F_L0()
327 size_t expectLongTimeCount = vm_->GetEcmaGCStats()->GetFullGCLongTimeCount() + in HWTEST_F_L0()
328 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats() in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/checkpoint/
H A Dthread_state_transition.h136 TRACE_GC(GCStats::Scope::ScopeId::SuspendAll, SharedHeap::GetInstance()->GetEcmaGCStats()); in SuspendAllScope()
142 TRACE_GC(GCStats::Scope::ScopeId::ResumeAll, SharedHeap::GetInstance()->GetEcmaGCStats()); in ~SuspendAllScope()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Ddfx_jsnapi.cpp461 return vm->GetEcmaGCStats()->GetGCCount(); in GetGCCount()
463 return vm->GetEcmaGCStats()->GetGCCount() + in GetGCCount()
464 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetGCCount(); in GetGCCount()
470 return vm->GetEcmaGCStats()->GetGCDuration(); in GetGCDuration()
472 return vm->GetEcmaGCStats()->GetGCDuration() + in GetGCDuration()
473 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetGCDuration(); in GetGCDuration()
479 return vm->GetEcmaGCStats()->GetAccumulatedAllocateSize(); in GetAccumulatedAllocateSize()
481 return vm->GetEcmaGCStats()->GetAccumulatedAllocateSize() + in GetAccumulatedAllocateSize()
482 ecmascript::SharedHeap::GetInstance()->GetEcmaGCStats()->GetAccumulatedAllocateSize(); in GetAccumulatedAllocateSize()
488 return vm->GetEcmaGCStats() in GetAccumulatedFreeSize()
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dgc_second_test.cpp246 int baseLocalGCCount = heap->GetEcmaGCStats()->GetGCCount(); in HWTEST_F_L0()
247 int baseSharedGCCount = sHeap->GetEcmaGCStats()->GetGCCount(); in HWTEST_F_L0()
270 int afterLocalGCCount = heap->GetEcmaGCStats()->GetGCCount(); in HWTEST_F_L0()
271 int afterSharedGCCount = sHeap->GetEcmaGCStats()->GetGCCount(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_vm.h174 GCStats *GetEcmaGCStats() const in GetEcmaGCStats() function in panda::ecmascript::EcmaVM

Completed in 18 milliseconds