Home
last modified time | relevance | path

Searched refs:heapRegionAllocator_ (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dspace.cpp27 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 Dlinear_space.cpp105 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 Dsparse_space.cpp34 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 Dspace.h276 HeapRegionAllocator *heapRegionAllocator_ {nullptr};
H A Dheap.cpp192 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 Dheap.h237 return heapRegionAllocator_; in GetHeapRegionAllocator()
396 HeapRegionAllocator *heapRegionAllocator_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dgc_verify_test.cpp88 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 Dshared_space.cpp151 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 Druntime.cpp98 heapRegionAllocator_ = std::make_unique<HeapRegionAllocator>(); in PreInitialization()
100 SharedHeap::GetInstance()->Initialize(nativeAreaAllocator_.get(), heapRegionAllocator_.get(), in PreInitialization()
H A Decma_vm.h265 return heapRegionAllocator_.get(); in GetHeapRegionAllocator()
839 std::unique_ptr<HeapRegionAllocator> heapRegionAllocator_; member in panda::ecmascript::EcmaVM
H A Druntime.h280 std::unique_ptr<HeapRegionAllocator> heapRegionAllocator_; member in panda::ecmascript::Runtime
H A Decma_vm.cpp167 heapRegionAllocator_(std::make_unique<HeapRegionAllocator>()), in EcmaVM()
183 heapRegionAllocator_(nullptr), in EcmaVM()
H A Djs_thread.cpp89 jsThread->heapRegionAllocator_ = vm->GetHeapRegionAllocator(); in Create()
174 heapRegionAllocator_ = nullptr; in ~JSThread()
H A Djs_thread.h230 return heapRegionAllocator_; in GetHeapRegionAllocator()
1567 HeapRegionAllocator *heapRegionAllocator_ {nullptr};

Completed in 19 milliseconds