Lines Matching refs:ecmaVm
47 ecmaVm = JSNApi::CreateEcmaVM(options);
48 ASSERT_TRUE(ecmaVm != nullptr) << "Cannot create EcmaVM";
49 thread = ecmaVm->GetJSThread();
59 ecmaVm->SetEnableForceGC(false);
61 JSNApi::DestroyJSVM(ecmaVm);
69 auto factory = ecmaVm->GetFactory();
70 auto env = ecmaVm->GetGlobalEnv();
78 SnapshotMock snapshotSerialize(ecmaVm);
102 EcmaVM *ecmaVm {nullptr};
109 auto factory = ecmaVm->GetFactory();
110 auto env = ecmaVm->GetGlobalEnv();
133 Snapshot snapshotSerialize(ecmaVm);
137 Snapshot snapshotDeserialize(ecmaVm);
140 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion();
166 auto factory = ecmaVm->GetFactory();
182 Snapshot snapshotSerialize(ecmaVm);
186 Snapshot snapshotDeserialize(ecmaVm);
189 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion();
206 auto factory = ecmaVm->GetFactory();
227 Snapshot snapshotSerialize(ecmaVm);
232 Snapshot snapshotDeserialize(ecmaVm);
236 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion();
299 auto factory = ecmaVm->GetFactory();
300 auto env = ecmaVm->GetGlobalEnv();
319 Snapshot snapshotSerialize(ecmaVm);
323 Snapshot snapshotDeserialize(ecmaVm);
326 auto lastRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetHugeObjectSpace()->GetCurrentRegion();