Lines Matching refs:heap
87 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
88 heap->GetReadOnlySpace()->SetReadOnly();
96 heap->AllocateReadOnlyOrHugeObject(
106 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
107 auto *object = heap->AllocateReadOnlyOrHugeObject(
115 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
123 heap->CompactHeapBeforeFork();
132 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
133 auto *object = heap->AllocateReadOnlyOrHugeObject(
135 heap->CollectGarbage(TriggerGCType::YOUNG_GC);
136 heap->CollectGarbage(TriggerGCType::OLD_GC);
137 heap->CollectGarbage(TriggerGCType::FULL_GC);
145 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
151 heap->CollectGarbage(TriggerGCType::OLD_GC);
156 heap->CollectGarbage(TriggerGCType::OLD_GC);