/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | space.cpp | 27 heapRegionAllocator_(heapRegionAllocator), in Space() 85 // regions of EdenSpace are allocated in EdenSpace constructor and fixed, not allocate by heapRegionAllocator_ in ClearAndFreeRegion() 87 heapRegionAllocator_->FreeRegion(region, cachedSize); in ClearAndFreeRegion() 156 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, allocSize, thread, heap_); in AllocateFort() 228 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize, thread, heap_); in Allocate()
|
H A D | linear_space.cpp | 105 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, localHeap_, in Expand() 259 heapRegionAllocator_->IncreaseAnnoMemoryUsage(memmap.GetSize()); in AllocRegion() 309 heapRegionAllocator_->DecreaseAnnoMemoryUsage(memSize); in ReclaimRegions() 350 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, localHeap_); in Initialize()
|
H A D | sparse_space.cpp | 34 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, localHeap_); in Initialize() 95 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, localHeap_); in Expand() 542 heapRegionAllocator_->FreeRegion(region, cachedSize); in ReclaimCSet()
|
H A D | space.h | 276 HeapRegionAllocator *heapRegionAllocator_ {nullptr};
|
H A D | heap.cpp | 192 heapRegionAllocator_ = heapRegionAllocator; in Initialize() 209 sHugeObjectSpace_ = new SharedHugeObjectSpace(this, heapRegionAllocator_, oldSpaceCapacity, oldSpaceCapacity); in Initialize() 267 heapRegionAllocator_ = nullptr; in Destroy() 702 heapRegionAllocator_ = ecmaVm_->GetHeapRegionAllocator(); in Initialize() 753 hugeObjectSpace_ = new HugeObjectSpace(this, heapRegionAllocator_, oldSpaceCapacity, oldSpaceCapacity); in Initialize() 754 hugeMachineCodeSpace_ = new HugeMachineCodeSpace(this, heapRegionAllocator_, oldSpaceCapacity, oldSpaceCapacity); in Initialize() 919 heapRegionAllocator_ = nullptr; in Destroy()
|
H A D | heap.h | 237 return heapRegionAllocator_; in GetHeapRegionAllocator() 396 HeapRegionAllocator *heapRegionAllocator_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | gc_verify_test.cpp | 88 auto heapRegionAllocator_ = std::make_unique<HeapRegionAllocator>(); in HWTEST_F_L0() local 89 sHeap->Initialize(nativeAreaAllocator_.get(), heapRegionAllocator_.get(), options, DaemonThread::GetInstance()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/ |
H A D | shared_space.cpp | 151 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, sHeap_); in Expand() 162 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, sHeap_); in AllocateDeserializeRegion() 519 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, thread, heap_); in Expand() 609 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, alignedSize, thread, heap_); in Allocate()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime.cpp | 98 heapRegionAllocator_ = std::make_unique<HeapRegionAllocator>(); in PreInitialization() 100 SharedHeap::GetInstance()->Initialize(nativeAreaAllocator_.get(), heapRegionAllocator_.get(), in PreInitialization()
|
H A D | ecma_vm.h | 265 return heapRegionAllocator_.get(); in GetHeapRegionAllocator() 839 std::unique_ptr<HeapRegionAllocator> heapRegionAllocator_; member in panda::ecmascript::EcmaVM
|
H A D | runtime.h | 280 std::unique_ptr<HeapRegionAllocator> heapRegionAllocator_; member in panda::ecmascript::Runtime
|
H A D | ecma_vm.cpp | 167 heapRegionAllocator_(std::make_unique<HeapRegionAllocator>()), in EcmaVM() 183 heapRegionAllocator_(nullptr), in EcmaVM()
|
H A D | js_thread.cpp | 89 jsThread->heapRegionAllocator_ = vm->GetHeapRegionAllocator(); in Create() 174 heapRegionAllocator_ = nullptr; in ~JSThread()
|
H A D | js_thread.h | 230 return heapRegionAllocator_; in GetHeapRegionAllocator() 1567 HeapRegionAllocator *heapRegionAllocator_ {nullptr};
|