Home
last modified time | relevance | path

Searched refs:gcType (Results 1 – 12 of 12) sorted by relevance

/ark/js_runtime/ecmascript/mem/
Dheap.cpp192 void Heap::Resume(TriggerGCType gcType) in Resume() argument
194 if (gcType == TriggerGCType::FULL_GC) { in Resume()
207 Platform::GetCurrentPlatform()->PostTask(std::make_unique<AsyncClearTask>(this, gcType)); in Resume()
209 ReclaimRegions(gcType); in Resume()
226 void Heap::CollectGarbage(TriggerGCType gcType) in CollectGarbage() argument
242 gcType = TriggerGCType::FULL_GC; in CollectGarbage()
244 if (isFullGCRequested_ && thread_->IsReadyToMark() && gcType != TriggerGCType::FULL_GC) { in CollectGarbage()
245 gcType = TriggerGCType::FULL_GC; in CollectGarbage()
249 OPTIONAL_LOG(ecmaVm_, ERROR, ECMASCRIPT) << "Heap::CollectGarbage, gcType = " << gcType in CollectGarbage()
252 switch (gcType) { in CollectGarbage()
[all …]
Dheap.h60 void Resume(TriggerGCType gcType);
204 void CollectGarbage(TriggerGCType gcType);
366 inline void ReclaimRegions(TriggerGCType gcType);
Dheap-inl.h273 void Heap::ReclaimRegions(TriggerGCType gcType) in ReclaimRegions() argument
281 if (gcType == TriggerGCType::FULL_GC) { in ReclaimRegions()
283 } else if (gcType == TriggerGCType::OLD_GC) { in ReclaimRegions()
Dparallel_work_helper.cpp137 void WorkerHelper::Initialize(TriggerGCType gcType, ParallelGCTaskPhase parallelTask) in Initialize() argument
150 if (gcType != TriggerGCType::OLD_GC) { in Initialize()
Dmem_controller.cpp93 void MemController::StopCalculationAfterGC(TriggerGCType gcType) in StopCalculationAfterGC() argument
119 switch (gcType) { in StopCalculationAfterGC()
Dmem_controller.h56 void StopCalculationAfterGC(TriggerGCType gcType);
Dparallel_work_helper.h147 void Initialize(TriggerGCType gcType, ParallelGCTaskPhase parallelTask);
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h779 std::string gcType; in GetGcType() local
782 gcType = "gen-gc"; in GetGcType()
785 gcType = "stw"; in GetGcType()
788 gcType = "epsilon"; in GetGcType()
793 return gcType; in GetGcType()
899 static void TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType = TRIGGER_GC_TYPE::SEMI_GC);
/ark/js_runtime/ecmascript/
Decma_vm.cpp701 void EcmaVM::CollectGarbage(TriggerGCType gcType) const in CollectGarbage()
703 heap_->CollectGarbage(gcType); in CollectGarbage()
Decma_vm.h322 void CollectGarbage(TriggerGCType gcType) const;
/ark/runtime_core/runtime/include/mem/
Dallocator.h801 template <GCType gcType, MTModeT MTMode = MT_MODE_MULTI>
/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp203 void JSNApi::TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType) in TriggerGC() argument
206 switch (gcType) { in TriggerGC()