/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | verification.h | 32 VerifyScope(BaseHeap *heap) : heap_(heap) in VerifyScope() 42 BaseHeap *heap_ {nullptr}; 50 static void VerifyInactiveSemiSpaceMarkedObject(const BaseHeap *heap, void *addr); 52 VerifyObjectVisitor(const BaseHeap *heap, size_t *failCount, in VerifyObjectVisitor() 85 const BaseHeap* const heap_ {nullptr};
|
H A D | allocator.h | 26 class BaseHeap; 92 inline explicit FreeListAllocator(BaseHeap *heap); 93 inline explicit FreeListAllocator(BaseHeap *heap, MemDescPool *pool, JitFort *fort); 96 inline void Reset(BaseHeap *heap); 140 BaseHeap *heap_{nullptr};
|
H A D | heap_region_allocator.h | 24 class BaseHeap; 33 Region *AllocateAlignedRegion(Space *space, size_t capacity, JSThread* thread, BaseHeap *heap,
|
H A D | tagged_object.h | 59 friend class BaseHeap;
|
H A D | heap.h | 128 class BaseHeap { class 130 BaseHeap(const EcmaParamConfiguration &config) : config_(config) {} in BaseHeap() function in panda::panda::ecmascript::BaseHeap 131 virtual ~BaseHeap() = default; 132 NO_COPY_SEMANTIC(BaseHeap); 133 NO_MOVE_SEMANTIC(BaseHeap); 369 explicit RecursionScope(BaseHeap* heap, HeapType heapType) : heap_(heap), heapType_(heapType) in RecursionScope() 384 BaseHeap *heap_ {nullptr}; 425 class SharedHeap : public BaseHeap { 427 SharedHeap(const EcmaParamConfiguration &config) : BaseHeap(config) {} in SharedHeap() 896 class Heap : public BaseHeap { [all...] |
H A D | space.h | 124 Space(BaseHeap* heap, HeapRegionAllocator *regionAllocator, MemSpaceType spaceType, size_t initialCapacity, 275 BaseHeap *heap_ {nullptr};
|
H A D | heap.cpp | 695 : BaseHeap(ecmaVm->GetEcmaParamConfiguration()), in Heap() 1305 void BaseHeap::ThrowOutOfMemoryError(JSThread *thread, size_t size, std::string functionName, in ThrowOutOfMemoryError() 1321 void BaseHeap::SetMachineCodeOutOfMemoryError(JSThread *thread, size_t size, std::string functionName) in SetMachineCodeOutOfMemoryError() 1334 void BaseHeap::SetAppFreezeFilterCallback(AppFreezeFilterCallback cb) in SetAppFreezeFilterCallback() 1341 void BaseHeap::ThrowOutOfMemoryErrorForDefault(JSThread *thread, size_t size, std::string functionName, in ThrowOutOfMemoryErrorForDefault() 1361 void BaseHeap::FatalOutOfMemoryError(size_t size, std::string functionName) in FatalOutOfMemoryError() 1502 void BaseHeap::OnAllocateEvent([[maybe_unused]] EcmaVM *ecmaVm, [[maybe_unused]] TaggedObject* address, in OnAllocateEvent() 2474 bool BaseHeap::IsAlive(TaggedObject *object) const in IsAlive() 2491 bool BaseHeap::ContainObject(TaggedObject *object) const in ContainObject() 2721 void BaseHeap [all...] |
H A D | allocator-inl.h | 76 FreeListAllocator<T>::FreeListAllocator(BaseHeap *heap) : heap_(heap) in FreeListAllocator() 88 void FreeListAllocator<T>::Reset(BaseHeap *heap) in Reset()
|
H A D | heap_region_allocator.cpp | 24 Region *HeapRegionAllocator::AllocateAlignedRegion(Space *space, size_t capacity, JSThread* thread, BaseHeap *heap, in AllocateAlignedRegion()
|
H A D | space.cpp | 23 Space::Space(BaseHeap* heap, HeapRegionAllocator *heapRegionAllocator, in Space()
|
H A D | verification.cpp | 22 void LogErrorForObjSlot(const BaseHeap *heap, const char *headerInfo, TaggedObject *obj, ObjectSlot slot, in LogErrorForObjSlot() 52 void LogErrorForObj(const BaseHeap *heap, const char *headerInfo, TaggedObject *obj) in LogErrorForObj() 67 void VerifyObjectVisitor::VerifyInactiveSemiSpaceMarkedObject(const BaseHeap *heap, void *addr) in VerifyInactiveSemiSpaceMarkedObject()
|
H A D | jit_fort.cpp | 31 FreeListAllocator<MemDesc>::FreeListAllocator(BaseHeap *heap, MemDescPool *pool, JitFort *fort) in FreeListAllocator()
|
H A D | heap-inl.h | 255 void BaseHeap::SetHClassAndDoAllocateEvent(JSThread *thread, TaggedObject *object, JSHClass *hclass, in SetHClassAndDoAllocateEvent()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | free_object.h | 26 class BaseHeap; 34 static FreeObject *FillFreeObject(BaseHeap *heap, uintptr_t address, size_t size);
|
H A D | free_object.cpp | 23 FreeObject *FreeObject::FillFreeObject(BaseHeap *heap, uintptr_t address, size_t size) in FillFreeObject()
|
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_space.h | 218 SharedHugeObjectSpace(BaseHeap *heap, HeapRegionAllocator *regionAllocator, size_t initialCapacity,
|
H A D | shared_space.cpp | 581 SharedHugeObjectSpace::SharedHugeObjectSpace(BaseHeap *heap, HeapRegionAllocator *heapRegionAllocator, in SharedHugeObjectSpace()
|