Searched refs:DEFAULT_REGION_SIZE (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | mem.h | 60 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;
|
D | heap_region_allocator.cpp | 36 …auto pool = MemMapAllocator::GetInstance()->Allocate(capacity, DEFAULT_REGION_SIZE, isRegular, isM… in AllocateAlignedRegion()
|
D | mem_map_allocator.h | 160 MemMap smemMap = PageMap(size, PAGE_PROT_NONE, DEFAULT_REGION_SIZE); in GetMemFromList() 169 if (remainderSize >= DEFAULT_REGION_SIZE) { in GetMemFromList()
|
D | linear_space.cpp | 93 …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()
|
D | heap.cpp | 745 …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()
|
D | sparse_space.cpp | 37 Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, in Initialize() 88 …Region *region = heapRegionAllocator_->AllocateAlignedRegion(this, DEFAULT_REGION_SIZE, heap_->Get… in Expand()
|
D | region.h | 566 DEFAULT_REGION_SIZE / 2; // 2 means half
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | mem_map_allocator_test.cpp | 59 MemMap memMap = PageMap(HUGE_OBJECT_CAPACITY, PAGE_PROT_NONE, DEFAULT_REGION_SIZE); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_processor.h | 101 return GCBitset::SizeOfGCBitset(DEFAULT_REGION_SIZE - in GetMarkGCBitSetSize()
|
D | snapshot_processor.cpp | 1082 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/ |
D | jsnapi.cpp | 974 MemMapAllocator::GetInstance()->Initialize(ecmascript::DEFAULT_REGION_SIZE); in InitializeMemMapAllocator()
|