/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap-inl.h | 44 void Heap::EnumerateOldSpaceRegions(const Callback &cb, Region *region) const in EnumerateOldSpaceRegions() 54 void Heap::EnumerateSnapshotSpaceRegions(const Callback &cb) const in EnumerateSnapshotSpaceRegions() 60 void Heap::EnumerateNonNewSpaceRegions(const Callback &cb) const in EnumerateNonNewSpaceRegions() 72 void Heap::EnumerateNonNewSpaceRegionsWithRecord(const Callback &cb) const in EnumerateNonNewSpaceRegionsWithRecord() 82 void Heap::EnumerateNewSpaceRegions(const Callback &cb) const in EnumerateNewSpaceRegions() 88 void Heap::EnumerateNonMovableRegions(const Callback &cb) const in EnumerateNonMovableRegions() 98 void Heap::EnumerateRegions(const Callback &cb) const in EnumerateRegions() 111 void Heap::IterateOverObjects(const Callback &cb) const in IterateOverObjects() 120 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject() 126 TaggedObject *Heap::AllocateYoungOrHugeObject(size_t size) in AllocateYoungOrHugeObject() [all …]
|
D | heap.cpp | 49 Heap::Heap(EcmaVM *ecmaVm) : ecmaVm_(ecmaVm), thread_(ecmaVm->GetJSThread()), in Heap() function in panda::ecmascript::Heap 53 void Heap::Initialize() in Initialize() 130 void Heap::Destroy() in Destroy() 237 void Heap::Prepare() in Prepare() 245 void Heap::Resume(TriggerGCType gcType) in Resume() 274 void Heap::ResumeForAppSpawn() in ResumeForAppSpawn() 288 void Heap::CompactHeapBeforeFork() in CompactHeapBeforeFork() 293 void Heap::DisableParallelGC() in DisableParallelGC() 305 void Heap::EnableParallelGC() in EnableParallelGC() 328 TriggerGCType Heap::SelectGCType() const in SelectGCType() [all …]
|
D | partial_gc.h | 33 explicit PartialGC(Heap *heap); 40 Heap *GetHeap() const in GetHeap() 55 Heap *heap_; 65 friend class Heap; variable
|
D | verification.h | 32 VerifyObjectVisitor(const Heap *heap, size_t *failCount) in VerifyObjectVisitor() 54 const Heap* const heap_ {nullptr}; 61 explicit Verification(const Heap *heap) : heap_(heap), objXRay_(heap->GetEcmaVM()) {} in Verification() 80 const Heap *heap_ {nullptr};
|
D | concurrent_marker.h | 31 class Heap; variable 44 ConcurrentMarker(Heap *heap, EnableConcurrentMarkType type); 128 MarkerTask(int32_t id, Heap *heap) : Task(id), heap_(heap) {} in MarkerTask() 136 Heap *heap_ {nullptr}; 150 Heap *heap_ {nullptr};
|
D | tlab_allocator.h | 22 class Heap; variable 27 inline explicit TlabAllocator(Heap *heap); 48 Heap *heap_;
|
D | full_gc.h | 27 explicit FullGC(Heap *heap); 45 Heap *heap_; 56 friend class Heap; variable
|
D | sparse_space.h | 54 SparseSpace(Heap *heap, MemSpaceType type, size_t initialCapacity, size_t maximumCapacity); 115 Heap *heap_ {nullptr}; 129 OldSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity); 188 NonMovableSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity); 196 AppSpawnSpace(Heap *heap, size_t initialCapacity); 207 LocalSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity); 220 MachineCodeSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity);
|
D | linear_space.h | 24 LinearSpace(Heap *heap, MemSpaceType type, size_t initialCapacity, size_t maximumCapacity); 64 Heap *heap_ {nullptr}; 77 SemiSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity); 114 SnapshotSpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity); 135 ReadOnlySpace(Heap *heap, size_t initialCapacity, size_t maximumCapacity);
|
D | allocation_inspector.h | 22 class Heap; variable 27 explicit AllocationInspector(Heap *heap, uint64_t rate, HeapSampling *profiler) in AllocationInspector() 44 [[maybe_unused]] Heap *const heap_;
|
D | stw_young_gc.h | 37 STWYoungGC(Heap *heap, bool parallelGC); 66 Heap *heap_; 77 friend class Heap; variable
|
D | incremental_marker.h | 31 class Heap; variable 42 IncrementalMarker(Heap *heap); 97 Heap *heap_ {nullptr};
|
D | allocator.h | 26 class Heap; variable 89 inline explicit FreeListAllocator(Heap *heap); 92 inline void Reset(Heap *heap); 135 Heap *heap_{nullptr};
|
D | parallel_marker.h | 26 class Heap; variable 34 explicit Marker(Heap *heap); 86 Heap *heap_ {nullptr}; 93 explicit NonMovableMarker(Heap *heap) : Marker(heap) {} in NonMovableMarker() 115 explicit MovableMarker(Heap *heap) : Marker(heap) {} in MovableMarker() 140 explicit SemiGCMarker(Heap *heap) : MovableMarker(heap) {} in SemiGCMarker() 161 explicit CompressGCMarker(Heap *heap) : MovableMarker(heap) {} in CompressGCMarker()
|
D | heap.h | 74 class Heap { 76 explicit Heap(EcmaVM *ecmaVm); 77 ~Heap() = default; 78 NO_COPY_SEMANTIC(Heap); 79 NO_MOVE_SEMANTIC(Heap); 551 ParallelGCTask(int32_t id, Heap *heap, ParallelGCTaskPhase taskPhase) in ParallelGCTask() 560 Heap *heap_ {nullptr}; 566 AsyncClearTask(int32_t id, Heap *heap, TriggerGCType type) in AsyncClearTask() 574 Heap *heap_;
|
D | mem_controller.h | 37 explicit MemController(Heap* heap); 143 Heap* heap_; 180 MemController *CreateMemController(Heap *heap, std::string_view gcTriggerType);
|
D | gc_stats.h | 29 class Heap; variable 71 explicit GCStats(const Heap *heap) : heap_(heap) {} in GCStats() 72 GCStats(const Heap *heap, size_t longPuaseTime) : heap_(heap), in GCStats() 216 const Heap *heap_ {nullptr};
|
D | mark_stack.h | 100 explicit ContinuousStack(Heap *heap) : heap_(heap) {} in ContinuousStack() 105 inline void BeginMarking(Heap *heap, ContinuousStack<T> *other) in BeginMarking() 164 Heap *heap_ {nullptr};
|
D | concurrent_sweeper.h | 40 ConcurrentSweeper(Heap *heap, EnableConcurrentSweepType type); 115 Heap *heap_;
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | read_only_space_test.cpp | 50 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->SetMarkType(MarkType::MARK_FULL); in SetUp() 95 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 113 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 122 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 139 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 152 auto *heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
|
D | gc_test.cpp | 49 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in SetUp() 87 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 126 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 144 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 183 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 219 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 255 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 284 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() 291 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 320 const_cast<Heap *>(thread->GetEcmaVM()->GetHeap())->CollectGarbage(TriggerGCType::OLD_GC); in HWTEST_F_L0() [all …]
|
D | js_verification_test.cpp | 63 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0() 67 auto funcVerify = [](TaggedObject *object, [[maybe_unused]] Verification &v, const Heap *heap) { in HWTEST_F_L0() 88 auto heap = const_cast<Heap *>(ecmaVm->GetHeap()); in HWTEST_F_L0()
|
D | handle_leak_test.cpp | 103 …JSHandle<TaggedObject> newProgram(thread, const_cast<Heap *>(instance->GetHeap())->AllocateYoungOr… in HWTEST_F_L0() 126 …JSHandle<Program> newProgram(thread, const_cast<Heap *>(instance->GetHeap())->AllocateYoungOrHugeO… in HWTEST_F_L0() 143 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() 169 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() 199 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0()
|
D | concurrent_marking_test.cpp | 48 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in SetUp() 77 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0() 95 auto heap = const_cast<Heap *>(thread->GetEcmaVM()->GetHeap()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_sampling.h | 60 HeapSampling(const EcmaVM *vm, Heap *const heap, uint64_t interval, int stackDepth); 82 [[maybe_unused]] Heap *const heap_;
|