Home
last modified time | relevance | path

Searched refs:DEFAULT_REGION_SIZE (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dmem.h60 static constexpr size_t DEFAULT_REGION_SIZE = 1U << REGION_SIZE_LOG2; variable
61 static constexpr size_t DEFAULT_REGION_MASK = DEFAULT_REGION_SIZE - 1;
74 static constexpr size_t MAX_REGULAR_HEAP_OBJECT_SIZE = DEFAULT_REGION_SIZE * 2 / 3;
Dheap_region_allocator.cpp36 …auto pool = MemMapAllocator::GetInstance()->Allocate(capacity, DEFAULT_REGION_SIZE, isRegular, isM… in AllocateAlignedRegion()
Dmem_map_allocator.h160 MemMap smemMap = PageMap(size, PAGE_PROT_NONE, DEFAULT_REGION_SIZE); in GetMemFromList()
169 if (remainderSize >= DEFAULT_REGION_SIZE) { in GetMemFromList()
Dlinear_space.cpp93 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand()
167 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Initialize()
Dheap.cpp745 …if (newSpaceRemainSize < 2 * DEFAULT_REGION_SIZE || activeSemiSpace_->NativeBindingSizeLargerThanL… in TryTriggerIdleCollection()
818 if ((oldSpaceRemainSize > 0 && oldSpaceRemainSize < DEFAULT_REGION_SIZE) || in TryTriggerIncrementalMarking()
876 if (oldSpaceRemainSize > 0 && oldSpaceRemainSize < DEFAULT_REGION_SIZE) { in TryTriggerConcurrentMarking()
912 …} else if (newSpaceRemainSize < DEFAULT_REGION_SIZE || activeSemiSpace_->NativeBindingSizeLargerTh… in TryTriggerConcurrentMarking()
Dsparse_space.cpp37 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, in Initialize()
88 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand()
Dregion.h566 DEFAULT_REGION_SIZE / 2; // 2 means half
/arkcompiler/ets_runtime/ecmascript/tests/
Dmem_map_allocator_test.cpp59 MemMap memMap = PageMap(HUGE_OBJECT_CAPACITY, PAGE_PROT_NONE, DEFAULT_REGION_SIZE); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.h101 return GCBitset::SizeOfGCBitset(DEFAULT_REGION_SIZE - in GetMarkGCBitSetSize()
Dsnapshot_processor.cpp1082 DEFAULT_REGION_SIZE); in WriteSpaceObjectToFile()
1088 … ToUintPtr(current) + DEFAULT_REGION_SIZE - current->packedData_.begin_); in WriteSpaceObjectToFile()
1141 objSize = (regionCount - 1) * (DEFAULT_REGION_SIZE - GetMarkGCBitSetSize()) + in StatisticsSpaceObjectSize()
1234 …numberOfRegions = (spaceObjSize - 1) / (DEFAULT_REGION_SIZE - GetMarkGCBitSetSize()) + 1; // round… in DeserializeSpaceObject()
1238 space, DEFAULT_REGION_SIZE, vm_->GetAssociatedJSThread()); in DeserializeSpaceObject()
1239 …auto fileRegion = ToNativePtr<Region>(beginAddr + i * (DEFAULT_REGION_SIZE - GetMarkGCBitSetSize()… in DeserializeSpaceObject()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp974 MemMapAllocator::GetInstance()->Initialize(ecmascript::DEFAULT_REGION_SIZE); in InitializeMemMapAllocator()