| /arkcompiler/runtime_core/static_core/runtime/include/mem/ |
| D | allocator-inl.h | 23 …AllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *objectAllocator, size_t poolSize, in AllocateSafe() 36 … size_t poolSize, SpaceType spaceType, HeapSpace *heapSpace) in AddPoolsAndAlloc() 66 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local 70 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local 74 …size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)… in AllocateTenuredImpl() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | heap_space.cpp | 116 inline std::optional<size_t> HeapSpace::WillAlloc(size_t poolSize, size_t currentFreeBytesInSpace, in WillAlloc() 152 inline Pool HeapSpace::TryAllocPoolBase(size_t poolSize, SpaceType spaceType, AllocatorType allocat… in TryAllocPoolBase() 172 Pool HeapSpace::TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, voi… in TryAllocPool() 199 void HeapSpace::FreePool(void *poolMem, size_t poolSize, bool releasePages) in FreePool() 376 Pool GenerationalSpaces::AllocSharedPool(size_t poolSize, SpaceType spaceType, AllocatorType alloca… in AllocSharedPool() 396 Pool GenerationalSpaces::TryAllocPoolForYoung(size_t poolSize, SpaceType spaceType, AllocatorType a… in TryAllocPoolForYoung() 406 Pool GenerationalSpaces::TryAllocPoolForTenured(size_t poolSize, SpaceType spaceType, AllocatorType… in TryAllocPoolForTenured() 414 Pool GenerationalSpaces::TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocator… in TryAllocPool() 434 void GenerationalSpaces::FreeSharedPool(void *poolMem, size_t poolSize) in FreeSharedPool() 442 void GenerationalSpaces::FreeYoungPool(void *poolMem, size_t poolSize, bool releasePages) in FreeYoungPool() [all …]
|
| D | allocator.cpp | 59 auto poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, PANDA_DEFAULT_ALLOCATOR_POOL_SIZE); in HaveEnoughPoolsInObjectSpace() local 123 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in Allocate() local 126 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in Allocate() local 129 …size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)… in Allocate() local 301 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateNonMovable() local 305 … size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateNonMovable() local 311 …size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)… in AllocateNonMovable() local
|
| D | internal_allocator.cpp | 141 void *AllocInRunSlots(AllocatorT *runslotsAllocator, size_t size, Alignment align, size_t poolSize) in AllocInRunSlots() 201 size_t poolSize = FreeListAllocatorT::GetMinPoolSize(); in AllocViaFreeListAllocator() local 229 size_t poolSize = HumongousObjAllocatorT::GetMinPoolSize(size); in AllocViaHumongousAllocator() local
|
| D | humongous_obj_allocator-inl.h | 188 size_t poolSize = memoryPool->GetPoolSize(); in ReleaseUnusedPagesOnAlloc() local 463 size_t poolSize = pool->GetPoolSize(); in SortedInsert() local
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | pool_map.cpp | 20 void PoolMap::AddPoolToMap(const void *poolAddr, size_t poolSize, SpaceType spaceType, AllocatorTyp… in AddPoolToMap() 34 void PoolMap::RemovePoolFromMap(const void *poolAddr, size_t poolSize) in RemovePoolFromMap()
|
| D | mmap_mem_pool-inl.h | 69 size_t poolSize = pool.GetSize(); in PopFreePool() local 151 inline bool MmapPoolMap::HaveEnoughFreePools(size_t poolsNum, size_t poolSize) const in HaveEnoughFreePools() 216 inline void MmapPoolMap::ReleasePagesInUnreturnedPool(size_t poolSize) in ReleasePagesInUnreturnedPool() 596 inline bool MmapMemPool::HaveEnoughPoolsInObjectSpace(size_t poolsNum, size_t poolSize) const in HaveEnoughPoolsInObjectSpace() 657 auto poolSize = std::min(RELEASE_MEM_SIZE, unreturnedSize); in ReleasePagesInUnreturnedPoolWithInterruption() local 696 auto poolSize = std::min(RELEASE_MEM_SIZE, unreturnedSize); in ReleasePagesInMainPoolWithInterruption() local 701 inline void MmapMemPool::SpaceMemory::ReleasePagesInMainPool(size_t poolSize) in ReleasePagesInMainPool()
|
| D | arena_allocator.cpp | 150 bool ArenaAllocatorT<USE_OOM_HANDLER>::AddArenaFromPool(size_t poolSize) in AddArenaFromPool()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | pool_map_test.cpp | 181 size_t poolSize = AlignUp(rand() % MAX_POOL_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES); in TEST_F() local
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | mem_map_allocator.cpp | 340 uint64_t poolSize; in AdapterSuitablePoolCapacity() local
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | humongous_obj_allocator_test.cpp | 133 size_t poolSize = DEFAULT_POOL_SIZE_FOR_ALLOC + PAGE_SIZE * i; in TEST_F() local
|