/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | weak_ref_old_gc_test.cpp | 62 vm->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 69 EcmaTestCommon::ArrayUndefinedGcCommon(thread, TriggerGCType::OLD_GC); in HWTEST_F_L0() 74 EcmaTestCommon::ArrayKeepGcCommon(thread, TriggerGCType::OLD_GC); in HWTEST_F_L0() 84 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 96 thread->GetEcmaVM()->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | read_only_space_test.cpp | 136 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 151 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 156 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | concurrent_sweep_test.cpp | 34 instance->CollectGarbage(ecmascript::TriggerGCType::OLD_GC); in TEST_F()
|
H A D | incremental_marking_test.cpp | 64 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | concurrent_marking_test.cpp | 65 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 82 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | huge_object_test.cpp | 55 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); // Trigger GC. in HWTEST_F_L0()
|
H A D | gc_second_test.cpp | 55 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 67 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 204 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | js_verification_test.cpp | 78 heap->CollectGarbage(panda::ecmascript::TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | gc_third_test.cpp | 164 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
H A D | tagged_array_test.cpp | 65 ecmaVM->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | partial_gc.cpp | 43 bool needAjustGCThreadPrio = heap_->GetGCType() == TriggerGCType::OLD_GC || in RunPhases() 87 workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::OLD_HANDLE_GLOBAL_POOL_TASK); in Initialize() 100 heap_->Resume(OLD_GC); in Finish()
|
H A D | incremental_marker.cpp | 48 heap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::IDLE); in TriggerIncrementalMark() 87 workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::OLD_HANDLE_GLOBAL_POOL_TASK); in Initialize()
|
H A D | concurrent_marker.cpp | 83 gcType = TriggerGCType::OLD_GC; in HandleMarkingFinished() 151 workManager_->Initialize(TriggerGCType::OLD_GC, ParallelGCTaskPhase::CONCURRENT_HANDLE_GLOBAL_POOL_TASK); in InitializeMarking()
|
H A D | sparse_space.cpp | 81 localHeap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_FAILED); in Allocate() 442 localHeap_->GetEcmaGCStats()->RecordStatisticBeforeGC(TriggerGCType::OLD_GC, GCReason::OTHER); in SelectCSet() 580 localHeap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_LIMIT); in CheckAndAllocate() 708 localHeap_->CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_FAILED); in Allocate()
|
H A D | parallel_evacuator.cpp | 295 UpdateWeakReferenceOpt<TriggerGCType::OLD_GC>(); in UpdateReference() 422 } else if constexpr (gcType == TriggerGCType::OLD_GC) { in UpdateWeakReferenceOpt() 483 UpdateObjectSlotOpt<TriggerGCType::OLD_GC>(slot); in UpdateRSet() 731 GetEvacuator()->UpdateNewRegionReference<TriggerGCType::OLD_GC>(GetRegion()); in Process() 741 GetEvacuator()->UpdateAndSweepNewRegionReference<TriggerGCType::OLD_GC>(GetRegion()); in Process()
|
H A D | heap.cpp | 1007 if (gcType == TriggerGCType::OLD_GC) { in Resume() 1085 return OLD_GC; in SelectGCType() 1121 gcType = TriggerGCType::OLD_GC; in CollectGarbage() 1153 gcType_ = TriggerGCType::OLD_GC; in CollectGarbage() 1164 gcType_ = TriggerGCType::OLD_GC; in CollectGarbage() 1168 case TriggerGCType::OLD_GC: { in CollectGarbage() 1246 if (gcType_ == TriggerGCType::OLD_GC) { in CollectGarbage() 1666 CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_LIMIT); in CheckAndTriggerOldGC() 2001 CollectGarbage(TriggerGCType::OLD_GC, GCReason::ALLOCATION_FAILED); 2044 CollectGarbage(TriggerGCType::OLD_GC, GCReaso in CheckAndTriggerTaskFinishedGC() [all...] |
H A D | mem_controller.cpp | 186 case TriggerGCType::OLD_GC: { in StopCalculationAfterGC()
|
H A D | parallel_evacuator-inl.h | 223 } else if constexpr (gcType == TriggerGCType::OLD_GC) { in UpdateWeakObjectSlotOpt()
|
H A D | work_manager.cpp | 170 if (gcType != TriggerGCType::OLD_GC) { in Initialize()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | common_enum.h | 38 OLD_GC, enumerator
|
/arkcompiler/ets_runtime/test/fuzztest/jsnapitriggergc_fuzzer/ |
H A D | jsnapitriggergc_fuzzer.cpp | 39 JSNApi::TRIGGER_GC_TYPE gcType = JSNApi::TRIGGER_GC_TYPE::OLD_GC; in JSNApiTriggerGCFuzztest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_gc.cpp | 128 if (cause != OLD_GC) { in StartGC() 129 // except OLD_GC all run in place implicitly in StartGC() 223 return OLD_GC; in StringToGcType()
|
/arkcompiler/ets_runtime/ecmascript/serializer/tests/ |
H A D | serializer_test.cpp | 106 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in LineStringTest() 120 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in TreeStringTest() 134 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in SlicedStringTest() 148 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSPlainObjectTest1() 173 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSPlainObjectTest2() 197 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSPlainObjectTest3() 225 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSPlainObjectTest4() 250 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSErrorTest1() 265 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSErrorTest2() 290 ecmaVm->CollectGarbage(TriggerGCType::OLD_GC); in JSErrorTest3() [all...] |
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | heap_profiler.cpp | 728 vm_->CollectGarbage(TriggerGCType::OLD_GC); in StartHeapTracking() 761 vm_->CollectGarbage(TriggerGCType::OLD_GC); in UpdateHeapTracking()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_first_tests.cpp | 154 vm->CollectGarbage(TriggerGCType::OLD_GC); in WeakRefCallback() 1394 vm_->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 1430 JSNApi::TRIGGER_GC_TYPE gcType = JSNApi::TRIGGER_GC_TYPE::OLD_GC; in HWTEST_F_L0() 1451 heap->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
|