Home
last modified time | relevance | path

Searched refs:Heap (Results 1 – 25 of 64) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/mem/
Dheap-inl.h44 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 …]
Dheap.cpp49 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 …]
Dpartial_gc.h33 explicit PartialGC(Heap *heap);
40 Heap *GetHeap() const in GetHeap()
55 Heap *heap_;
65 friend class Heap; variable
Dverification.h32 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};
Dconcurrent_marker.h31 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};
Dtlab_allocator.h22 class Heap; variable
27 inline explicit TlabAllocator(Heap *heap);
48 Heap *heap_;
Dfull_gc.h27 explicit FullGC(Heap *heap);
45 Heap *heap_;
56 friend class Heap; variable
Dsparse_space.h54 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);
Dlinear_space.h24 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);
Dallocation_inspector.h22 class Heap; variable
27 explicit AllocationInspector(Heap *heap, uint64_t rate, HeapSampling *profiler) in AllocationInspector()
44 [[maybe_unused]] Heap *const heap_;
Dstw_young_gc.h37 STWYoungGC(Heap *heap, bool parallelGC);
66 Heap *heap_;
77 friend class Heap; variable
Dincremental_marker.h31 class Heap; variable
42 IncrementalMarker(Heap *heap);
97 Heap *heap_ {nullptr};
Dallocator.h26 class Heap; variable
89 inline explicit FreeListAllocator(Heap *heap);
92 inline void Reset(Heap *heap);
135 Heap *heap_{nullptr};
Dparallel_marker.h26 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()
Dheap.h74 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_;
Dmem_controller.h37 explicit MemController(Heap* heap);
143 Heap* heap_;
180 MemController *CreateMemController(Heap *heap, std::string_view gcTriggerType);
Dgc_stats.h29 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};
Dmark_stack.h100 explicit ContinuousStack(Heap *heap) : heap_(heap) {} in ContinuousStack()
105 inline void BeginMarking(Heap *heap, ContinuousStack<T> *other) in BeginMarking()
164 Heap *heap_ {nullptr};
Dconcurrent_sweeper.h40 ConcurrentSweeper(Heap *heap, EnableConcurrentSweepType type);
115 Heap *heap_;
/arkcompiler/ets_runtime/ecmascript/tests/
Dread_only_space_test.cpp50 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()
Dgc_test.cpp49 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 …]
Djs_verification_test.cpp63 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()
Dhandle_leak_test.cpp103 …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()
Dconcurrent_marking_test.cpp48 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/
Dheap_sampling.h60 HeapSampling(const EcmaVM *vm, Heap *const heap, uint64_t interval, int stackDepth);
82 [[maybe_unused]] Heap *const heap_;

123