Home
last modified time | relevance | path

Searched defs:poolSize (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator-inl.h23 …AllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *objectAllocator, size_t poolSize, in AllocateSafe()
36size_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/
Dheap_space.cpp116 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 …]
Dallocator.cpp59 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
Dinternal_allocator.cpp141 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
Dhumongous_obj_allocator-inl.h188 size_t poolSize = memoryPool->GetPoolSize(); in ReleaseUnusedPagesOnAlloc() local
463 size_t poolSize = pool->GetPoolSize(); in SortedInsert() local
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dpool_map.cpp20 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()
Dmmap_mem_pool-inl.h69 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()
Darena_allocator.cpp150 bool ArenaAllocatorT<USE_OOM_HANDLER>::AddArenaFromPool(size_t poolSize) in AddArenaFromPool()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dpool_map_test.cpp181 size_t poolSize = AlignUp(rand() % MAX_POOL_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/mem/
Dmem_map_allocator.cpp340 uint64_t poolSize; in AdapterSuitablePoolCapacity() local
/arkcompiler/runtime_core/static_core/runtime/tests/
Dhumongous_obj_allocator_test.cpp133 size_t poolSize = DEFAULT_POOL_SIZE_FOR_ALLOC + PAGE_SIZE * i; in TEST_F() local