Home
last modified time | relevance | path

Searched refs:TriggerGCType (Results 1 – 25 of 46) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
Dmem_controller_test.cpp68 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()
Djs_handle_test.cpp64 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()
Dread_only_space_test.cpp142 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()
Dweak_ref_old_gc_test.cpp86 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()
Dweak_ref_semi_gc_test.cpp86 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()
Dthrow_oom_error_test.cpp92 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0()
94 heap->CollectGarbage(TriggerGCType::YOUNG_GC); in HWTEST_F_L0()
Dconcurrent_marking_test.cpp83 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
100 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
Dhuge_object_test.cpp87 ecmaVm->CollectGarbage(TriggerGCType::YOUNG_GC); // Trigger GC. in HWTEST_F_L0()
88 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); // Trigger GC. in HWTEST_F_L0()
Dgc_test.cpp185 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()
Djs_finalization_registry_test.cpp191 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()
Dconcurrent_sweep_test.cpp58 vm->CollectGarbage(ecmascript::TriggerGCType::OLD_GC); in TEST_F()
Dincremental_marking_test.cpp82 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
Djs_verification_test.cpp102 heap->CollectGarbage(panda::ecmascript::TriggerGCType::OLD_GC); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dheap.h83 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_;
Dheap.cpp245 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 …]
Dmem_controller.cpp113 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()
Dconcurrent_marker.cpp88 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()
Dincremental_marker.cpp57 heap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::IDLE); in TriggerIncrementalMark()
96 … workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::OLD_HANDLE_GLOBAL_POOL_TASK); in Initialize()
Dheap-inl.h259 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()
Dgc_stats.h116 void RecordStatisticBeforeGC(TriggerGCType gcType, GCReason reason);
150 GCType GetGCType(TriggerGCType gcType);
Dwork_manager.cpp147 void WorkManager::Initialize(TriggerGCType gcType, ParallelGCTaskPhase taskPhase) in Initialize()
160 if (gcType != TriggerGCType::OLD_GC) { in Initialize()
Dgc_stats.cpp374 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()
Dmem_controller.h56 void StopCalculationAfterGC(TriggerGCType gcType);
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_finalization_registry_test.cpp199 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/
Dheap_profiler.cpp130 vm_->CollectGarbage(TriggerGCType::OLD_GC); in UpdateHeapObjects()
280 const_cast<Heap *>(vm->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC); in ForceFullGC()

12