Home
last modified time | relevance | path

Searched refs:MarkType (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dheap.cpp110 markType_ = MarkType::MARK_YOUNG; in Initialize()
373 if (!GetJSThread()->IsReadyToMark() && markType_ == MarkType::MARK_FULL) { in CollectGarbage()
382 SetMarkType(MarkType::MARK_YOUNG); in CollectGarbage()
387 if (concurrentMarker_->IsEnabled() && markType_ == MarkType::MARK_YOUNG) { in CollectGarbage()
395 SetMarkType(MarkType::MARK_FULL); in CollectGarbage()
436 markType_ = MarkType::MARK_YOUNG; in CollectGarbage()
747 SetMarkType(MarkType::MARK_YOUNG); in TryTriggerIdleCollection()
758 size_t updateReferenceSpeed = markType_ == MarkType::MARK_YOUNG ? in CalculateIdleDuration()
767 if (markType_ == MarkType::MARK_YOUNG) { in CalculateIdleDuration()
769 } else if (markType_ == MarkType::MARK_FULL) { in CalculateIdleDuration()
[all …]
Dheap.h57 enum class MarkType : uint8_t { enum
307 void SetMarkType(MarkType markType) in SetMarkType()
314 return markType_ == MarkType::MARK_FULL; in IsFullMark()
649 MarkType markType_ {MarkType::MARK_YOUNG};
Dincremental_marker.cpp84 heap_->SetMarkType(MarkType::MARK_FULL); in Initialize()
/arkcompiler/ets_runtime/ecmascript/tests/
Dthrow_oom_error_test.cpp43 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()
Dhuge_object_test.cpp45 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()
Dread_only_space_test.cpp50 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp()