Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/runtime/include/mem/
Dallocator-inl.h23 …locatorBase::AllocateSafe(size_t size, Alignment align, AllocT *object_allocator, size_t pool_size, in AllocateSafe()
35size_t pool_size, SpaceType space_type, HeapSpace *heap_space) in AddPoolsAndAlloc()
65 size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local
69 … size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local
73 …size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size… in AllocateTenuredImpl() local
/arkcompiler/runtime_core/runtime/mem/
Dheap_space.cpp112 inline std::optional<size_t> HeapSpace::WillAlloc(size_t pool_size, size_t current_free_bytes_in_sp… in WillAlloc()
140 inline Pool HeapSpace::TryAllocPoolBase(size_t pool_size, SpaceType space_type, AllocatorType alloc… in TryAllocPoolBase()
155 Pool HeapSpace::TryAllocPool(size_t pool_size, SpaceType space_type, AllocatorType allocator_type, … in TryAllocPool()
183 void HeapSpace::FreePool(void *pool_mem, size_t pool_size) in FreePool()
327 Pool GenerationalSpaces::AllocSharedPool(size_t pool_size, SpaceType space_type, AllocatorType allo… in AllocSharedPool()
347 Pool GenerationalSpaces::TryAllocPoolForYoung(size_t pool_size, SpaceType space_type, AllocatorType… in TryAllocPoolForYoung()
357 Pool GenerationalSpaces::TryAllocPoolForTenured(size_t pool_size, SpaceType space_type, AllocatorTy… in TryAllocPoolForTenured()
365 Pool GenerationalSpaces::TryAllocPool(size_t pool_size, SpaceType space_type, AllocatorType allocat… in TryAllocPool()
385 void GenerationalSpaces::FreeSharedPool(void *pool_mem, size_t pool_size) in FreeSharedPool()
393 void GenerationalSpaces::FreeYoungPool(void *pool_mem, size_t pool_size) in FreeYoungPool()
[all …]
Dallocator.cpp55 auto pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, PANDA_DEFAULT_ALLOCATOR_POOL_SIZE); in HaveEnoughPoolsInObjectSpace() local
90 size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in Allocate() local
93 … size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in Allocate() local
96 …size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size… in Allocate() local
245 size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateNonMovable() local
249 … size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateNonMovable() local
255 …size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size… in AllocateNonMovable() local
Dinternal_allocator.cpp141 …id *AllocInRunSlots(AllocatorT *runslots_allocator, size_t size, Alignment align, size_t pool_size) in AllocInRunSlots()
204 size_t pool_size = FreeListAllocatorT::GetMinPoolSize(); in AllocViaPandaAllocators() local
226 size_t pool_size = HumongousObjAllocatorT::GetMinPoolSize(size); in AllocViaPandaAllocators() local
Dhumongous_obj_allocator-inl.h188 size_t pool_size = memory_pool->GetPoolSize(); in ReleaseUnusedPagesOnAlloc() local
462 size_t pool_size = pool->GetPoolSize(); in SortedInsert() local
/arkcompiler/runtime_core/runtime/mem/gc/hybrid-gc/
Dhybrid_object_allocator.cpp64 … size_t pool_size = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateInLargeAllocator() local
76 size_t pool_size; in AllocateInLargeAllocator() local
/arkcompiler/runtime_core/libpandabase/mem/
Dpool_map.cpp23 void PoolMap::AddPoolToMap(const void *pool_addr, size_t pool_size, SpaceType space_type, Allocator… in AddPoolToMap()
37 void PoolMap::RemovePoolFromMap(const void *pool_addr, size_t pool_size) in RemovePoolFromMap()
Darena_allocator.cpp154 bool ArenaAllocatorT<use_oom_handler>::AddArenaFromPool(size_t pool_size) in AddArenaFromPool()
Dmmap_mem_pool-inl.h106 inline bool MmapPoolMap::HaveEnoughFreePools(size_t pools_num, size_t pool_size) const in HaveEnoughFreePools()
498 inline bool MmapMemPool::HaveEnoughPoolsInObjectSpace(size_t pools_num, size_t pool_size) const in HaveEnoughPoolsInObjectSpace()
/arkcompiler/runtime_core/libpandabase/tests/
Dpool_map_test.cpp174 size_t pool_size = AlignUp(rand() % MAX_POOL_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES); variable
/arkcompiler/runtime_core/runtime/tests/
Dhumongous_obj_allocator_test.cpp127 size_t pool_size = DEFAULT_POOL_SIZE_FOR_ALLOC + PAGE_SIZE * i; in TEST_F() local