Home
last modified time | relevance | path

Searched refs:GetHeap (Results 1 - 25 of 57) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/tests/
H A Dgc_third_test.cpp41 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
49 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
98 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
163 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
180 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
197 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
216 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
234 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
252 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
267 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
[all...]
H A Didle_gc_trigger_test.cpp42 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
50 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
58 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
70 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
78 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
90 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
100 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
110 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
120 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
129 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
[all...]
H A Dgc_second_test.cpp42 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
50 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
55 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
62 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
67 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0()
74 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::FULL_GC); in HWTEST_F_L0()
75 size_t originalHeapSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0()
83 newSize = thread->GetEcmaVM()->GetHeap()->GetCommittedSize(); in HWTEST_F_L0()
91 ASSERT_TRUE(thread->GetEcmaVM()->GetHeap()->GetCommittedSize() < newSize); in HWTEST_F_L0()
96 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
[all...]
H A Dhandle_leak_test.cpp85 JSHandle<Program> newProgram(thread, const_cast<Heap *>(instance->GetHeap())->AllocateYoungOrHugeObject( in HWTEST_F_L0()
91 VerifyObjectVisitor verifier(instance->GetHeap(), &failCount); in HWTEST_F_L0()
102 VerifyObjectVisitor verifier(instance->GetHeap(), &failCount); in HeandleLeakTestCommon()
117 JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovableOrHugeObject( in HWTEST_F_L0()
137 JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovableOrHugeObject( in HWTEST_F_L0()
142 VerifyObjectVisitor verifier(instance->GetHeap(), &failCount); in HWTEST_F_L0()
H A Dread_only_space_test.cpp41 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL);
87 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
106 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
115 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
132 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
145 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
H A Dgc_verify_test.cpp44 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
52 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
60 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
68 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
76 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
H A Dconcurrent_marking_test.cpp39 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
59 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
77 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
87 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
108 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
127 Heap *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
H A Dmem_controller_test.cpp40 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
71 auto heap = const_cast<Heap *>(ecmaVm->GetHeap());
119 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
129 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
157 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
H A Djs_verification_test.cpp39 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
64 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
88 auto heap = const_cast<Heap*>(ecmaVm->GetHeap()); in HWTEST_F_L0()
H A Dgc_first_test.cpp42 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
51 auto heap = thread->GetEcmaVM()->GetHeap(); in HWTEST_F_L0()
71 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
110 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
128 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
167 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
283 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
351 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
H A Dthrow_oom_error_test.cpp33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL);
56 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
H A Dhuge_object_test.cpp33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL);
63 auto heap = ecmaVm->GetHeap(); in HWTEST_F_L0()
H A Dincremental_marking_test.cpp57 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
H A Djit_fort_test.cpp40 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
/arkcompiler/ets_runtime/ecmascript/mem/
H A Dbarriers.cpp22 auto heap = thread->GetEcmaVM()->GetHeap(); in UpdateWithoutEden()
49 auto heap = thread->GetEcmaVM()->GetHeap(); in Update()
83 Heap *heap = const_cast<Heap*>(thread->GetEcmaVM()->GetHeap()); in UpdateShared()
105 if (!thread->GetEcmaVM()->GetHeap()->IsAlive(taggedValue.GetHeapObject())) { in BatchBitSet()
H A Dpartial_gc.h40 Heap *GetHeap() const in GetHeap() function in panda::ecmascript::PartialGC
H A Drset_worklist_handler.h56 inline Heap *GetHeap();
H A Drset_worklist_handler-inl.h159 inline Heap *RSetWorkListHandler::GetHeap() in GetHeap() function in panda::ecmascript::RSetWorkListHandler
H A Dheap_region_allocator.cpp46 Heap *localHeap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in AllocateAlignedRegion()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_gc.cpp25 auto *heap = info->GetThread()->GetEcmaVM()->GetHeap(); in GetFreeHeapSize()
32 auto *heap = info->GetThread()->GetEcmaVM()->GetHeap(); in GetReservedHeapSize()
38 auto *heap = info->GetThread()->GetEcmaVM()->GetHeap(); in GetUsedHeapSize()
58 auto *heap = const_cast<Heap *>(info->GetThread()->GetEcmaVM()->GetHeap()); in RegisterNativeAllocation()
73 auto *heap = const_cast<Heap *>(info->GetThread()->GetEcmaVM()->GetHeap()); in RegisterNativeFree()
86 auto *heap = const_cast<Heap *>(info->GetThread()->GetEcmaVM()->GetHeap()); in WaitForFinishGC()
104 auto *heap = const_cast<Heap *>(info->GetThread()->GetEcmaVM()->GetHeap()); in StartGC()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Ddfx_jsnapi.cpp412 ecmascript::GCStats gcstats(vm->GetHeap()); in PrintStatisticResult()
429 return vm->GetHeap()->GetArrayBufferSize(); in GetArrayBufferSize()
434 return vm->GetHeap()->GetCommittedSize(); in GetHeapTotalSize()
440 return vm->GetHeap()->GetLiveObjectSize(); in GetHeapUsedSize()
445 return vm->GetHeap()->GetHeapObjectSize(); in GetHeapObjectSize()
450 return vm->GetHeap()->GetHeapLimitSize(); in GetHeapLimitSize()
502 const_cast<ecmascript::Heap *>(vm->GetHeap())->GetHeapPrepare(); in GetHeapPrepare()
508 vm->GetHeap()->SetJsDumpThresholds(thresholds); in SetJsDumpThresholds()
516 const_cast<ecmascript::Heap *>(vm->GetHeap())->SetAppFreezeFilterCallback(cb); in SetAppFreezeFilterCallback()
524 const_cast<ecmascript::Heap *>(vm->GetHeap()) in NotifyApplicationState()
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_profiler.cpp181 size_t heapSize = vm_->GetHeap()->GetLiveObjectSize(); in DoDump()
183 heapCount = static_cast<int32_t>(vm_->GetHeap()->GetHeapObjectCount()); in DoDump()
439 vm->GetHeap()->IterateOverObjects(cb, false); in GetHeapCntAndSize()
502 vm->GetHeap()->IterateOverObjects(handleObj, false); in GetNotFoundObj()
552 vm->GetHeap()->IterateOverObjects(handleObj, false); in FillAddrTable()
654 auto heap = vm_->GetHeap(); in FillIdMap()
684 const_cast<Heap*>(vm_->GetHeap())->Prepare(); in DumpHeapSnapshot()
688 const_cast<Heap*>(thread->GetEcmaVM()->GetHeap())->FillBumpPointerForTlab(); in DumpHeapSnapshot()
780 int32_t heapCount = static_cast<int32_t>(vm_->GetHeap()->GetHeapObjectCount()); in StopHeapTracking()
859 const_cast<Heap *>(vm->GetHeap()) in ForceFullGC()
[all...]
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
H A Dsnapshot_test.cpp91 ASSERT_EQ(const_cast<Heap *>(ecmaVm2->GetHeap())->GetHugeObjectSpace()->GetFirstRegion() != nullptr, in CompatibilityHelper()
140 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion(); in HWTEST_F_L0()
189 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion(); in HWTEST_F_L0()
236 auto beginRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetOldSpace()->GetCurrentRegion(); in HWTEST_F_L0()
326 auto lastRegion = const_cast<Heap *>(ecmaVm->GetHeap())->GetHugeObjectSpace()->GetCurrentRegion(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Ddfx_jsnapi_tests.cpp282 auto heap = vm_->GetHeap(); in HWTEST_F_L0()
332 auto heap = const_cast<Heap *>(vm_->GetHeap()); in HWTEST_F_L0()
354 auto heap = vm_->GetHeap();
372 auto heap = vm_->GetHeap(); in HWTEST_F_L0()
426 const_cast<ecmascript::Heap *>(vm_->GetHeap())->DisableNotifyIdle(); in HWTEST_F_L0()
432 auto heap = const_cast<ecmascript::Heap *>(vm_->GetHeap()); in HWTEST_F_L0()
440 auto heap = const_cast<ecmascript::Heap *>(vm_->GetHeap()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_gc_marker.cpp49 Heap *heap = const_cast<Heap*>(localVm->GetHeap()); in MarkLocalVMRoots()
68 Heap *heap = const_cast<Heap*>(localVm->GetHeap()); in CollectLocalVMRSet()

Completed in 15 milliseconds

123