/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | gc_third_test.cpp | 41 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 D | idle_gc_trigger_test.cpp | 42 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 D | gc_second_test.cpp | 42 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 D | handle_leak_test.cpp | 85 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 D | read_only_space_test.cpp | 41 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 D | gc_verify_test.cpp | 44 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 D | concurrent_marking_test.cpp | 39 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 D | mem_controller_test.cpp | 40 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 D | js_verification_test.cpp | 39 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 D | gc_first_test.cpp | 42 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 D | throw_oom_error_test.cpp | 33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); 56 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
|
H A D | huge_object_test.cpp | 33 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); 63 auto heap = ecmaVm->GetHeap(); in HWTEST_F_L0()
|
H A D | incremental_marking_test.cpp | 57 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
|
H A D | jit_fort_test.cpp | 40 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap());
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | barriers.cpp | 22 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 D | partial_gc.h | 40 Heap *GetHeap() const in GetHeap() function in panda::ecmascript::PartialGC
|
H A D | rset_worklist_handler.h | 56 inline Heap *GetHeap();
|
H A D | rset_worklist_handler-inl.h | 159 inline Heap *RSetWorkListHandler::GetHeap() in GetHeap() function in panda::ecmascript::RSetWorkListHandler
|
H A D | heap_region_allocator.cpp | 46 Heap *localHeap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in AllocateAlignedRegion()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_gc.cpp | 25 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 D | dfx_jsnapi.cpp | 412 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 D | heap_profiler.cpp | 181 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 D | snapshot_test.cpp | 91 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 D | dfx_jsnapi_tests.cpp | 282 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 D | shared_gc_marker.cpp | 49 Heap *heap = const_cast<Heap*>(localVm->GetHeap()); in MarkLocalVMRoots() 68 Heap *heap = const_cast<Heap*>(localVm->GetHeap()); in CollectLocalVMRSet()
|