/arkcompiler/ets_runtime/ecmascript/tests/ |
D | mem_controller_test.cpp | 68 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 76 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 85 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 99 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 119 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0()
|
D | js_handle_test.cpp | 64 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 87 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 100 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 145 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 176 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 186 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 211 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 222 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
|
D | read_only_space_test.cpp | 142 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 143 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 144 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 158 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 163 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
D | weak_ref_old_gc_test.cpp | 86 vm->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 105 ecmaVM->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 124 ecmaVM->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 139 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 151 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
D | weak_ref_semi_gc_test.cpp | 86 ecmaVM->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 105 ecmaVM->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 120 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 132 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0()
|
D | throw_oom_error_test.cpp | 92 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0() 94 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0()
|
D | concurrent_marking_test.cpp | 83 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 100 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
D | huge_object_test.cpp | 87 ecmaVm->CollectGarbage(TriggerGCType::YOUNG_GC); // Trigger GC. in HWTEST_F_L0() 88 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); // Trigger GC. in HWTEST_F_L0()
|
D | gc_test.cpp | 185 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 212 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 248 heap->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 285 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 321 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 328 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
|
D | js_finalization_registry_test.cpp | 191 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 225 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 262 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 299 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 339 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 385 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 465 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
|
D | concurrent_sweep_test.cpp | 58 vm->CollectGarbage(ecmascript::TriggerGCType::OLD_GC); in TEST_F()
|
D | incremental_marking_test.cpp | 82 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
D | js_verification_test.cpp | 102 heap->CollectGarbage(panda::ecmascript::TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap.h | 83 void Resume(TriggerGCType gcType); 268 void CollectGarbage(TriggerGCType gcType, GCReason reason = GCReason::OTHER); 271 TriggerGCType SelectGCType() const; 443 void StatisticHeapObject(TriggerGCType gcType) const; 444 void PrintHeapInfo(TriggerGCType gcType) const; 550 inline void ReclaimRegions(TriggerGCType gcType); 569 AsyncClearTask(int32_t id, Heap *heap, TriggerGCType type) in AsyncClearTask() 578 TriggerGCType gcType_;
|
D | heap.cpp | 245 void Heap::Resume(TriggerGCType gcType) in Resume() 290 CollectGarbage(TriggerGCType::APPSPAWN_FULL_GC); in CompactHeapBeforeFork() 328 TriggerGCType Heap::SelectGCType() const in SelectGCType() 341 void Heap::CollectGarbage(TriggerGCType gcType, GCReason reason) in CollectGarbage() 364 gcType = TriggerGCType::FULL_GC; in CollectGarbage() 366 if (fullGCRequested_ && thread_->IsReadyToMark() && gcType != TriggerGCType::FULL_GC) { in CollectGarbage() 367 gcType = TriggerGCType::FULL_GC; in CollectGarbage() 379 case TriggerGCType::YOUNG_GC: in CollectGarbage() 386 case TriggerGCType::OLD_GC: in CollectGarbage() 398 case TriggerGCType::FULL_GC: in CollectGarbage() [all …]
|
D | mem_controller.cpp | 113 void MemController::StopCalculationAfterGC(TriggerGCType gcType) in StopCalculationAfterGC() 140 case TriggerGCType::YOUNG_GC: in StopCalculationAfterGC() 141 case TriggerGCType::OLD_GC: { in StopCalculationAfterGC() 150 case TriggerGCType::FULL_GC: { in StopCalculationAfterGC()
|
D | concurrent_marker.cpp | 88 heap_->CollectGarbage(heap_->IsFullMark() ? TriggerGCType::OLD_GC : TriggerGCType::YOUNG_GC, in HandleMarkingFinished() 146 …workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::CONCURRENT_HANDLE_GLOBAL_POOL… in InitializeMarking()
|
D | incremental_marker.cpp | 57 heap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::IDLE); in TriggerIncrementalMark() 96 … workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::OLD_HANDLE_GLOBAL_POOL_TASK); in Initialize()
|
D | heap-inl.h | 259 CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_LIMIT); in AllocateHugeObject() 332 void Heap::ReclaimRegions(TriggerGCType gcType) in ReclaimRegions() 340 if (gcType == TriggerGCType::FULL_GC) { in ReclaimRegions() 342 } else if (gcType == TriggerGCType::OLD_GC) { in ReclaimRegions()
|
D | gc_stats.h | 116 void RecordStatisticBeforeGC(TriggerGCType gcType, GCReason reason); 150 GCType GetGCType(TriggerGCType gcType);
|
D | work_manager.cpp | 147 void WorkManager::Initialize(TriggerGCType gcType, ParallelGCTaskPhase taskPhase) in Initialize() 160 if (gcType != TriggerGCType::OLD_GC) { in Initialize()
|
D | gc_stats.cpp | 374 void GCStats::RecordStatisticBeforeGC(TriggerGCType gcType, GCReason reason) in RecordStatisticBeforeGC() 542 GCType GCStats::GetGCType(TriggerGCType gcType) in GetGCType() 548 case TriggerGCType::YOUNG_GC: in GetGCType() 550 case TriggerGCType::OLD_GC: in GetGCType() 552 case TriggerGCType::FULL_GC: in GetGCType()
|
D | mem_controller.h | 56 void StopCalculationAfterGC(TriggerGCType gcType);
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_finalization_registry_test.cpp | 199 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 252 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 306 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 358 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 437 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 487 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0() 529 vm->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_profiler.cpp | 130 vm_->CollectGarbage(TriggerGCType::OLD_GC); in UpdateHeapObjects() 280 const_cast<Heap *>(vm->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC); in ForceFullGC()
|