Lines Matching refs:GetEcmaVM

42         auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
50 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
55 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC);
62 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
67 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC);
74 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC);
75 size_t originalHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize();
81 [[maybe_unused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(1024 * 1024);
83 newSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize();
91 ASSERT_TRUE(thread->GetEcmaVM()->GetHeap()->GetCommittedSize() < newSize);
96 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
104 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
108 size_t expandHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize();
117 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
124 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
128 size_t expandHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize();
129 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->NotifyHighSensitive(false);
137 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
143 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
151 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
155 size_t commitSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize();
156 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->NotifyHighSensitive(false);
157 EXPECT_TRUE(commitSize < thread->GetEcmaVM()->GetEcmaParamConfiguration().GetMaxHeapSize());
162 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
168 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
184 auto vm = thread->GetEcmaVM();
211 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
232 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
242 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
249 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
281 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
288 [[maybe_unused]] JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(
310 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
311 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();