/arkcompiler/runtime_core/runtime/include/mem/ |
D | allocator-inl.h | 23 …locatorBase::AllocateSafe(size_t size, Alignment align, AllocT *object_allocator, size_t pool_size, in AllocateSafe() 35 … size_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/ |
D | heap_space.cpp | 112 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 …]
|
D | allocator.cpp | 55 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
|
D | internal_allocator.cpp | 141 …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
|
D | humongous_obj_allocator-inl.h | 188 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/ |
D | hybrid_object_allocator.cpp | 64 … 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/ |
D | pool_map.cpp | 23 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()
|
D | arena_allocator.cpp | 154 bool ArenaAllocatorT<use_oom_handler>::AddArenaFromPool(size_t pool_size) in AddArenaFromPool()
|
D | mmap_mem_pool-inl.h | 106 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/ |
D | pool_map_test.cpp | 174 size_t pool_size = AlignUp(rand() % MAX_POOL_SIZE, PANDA_POOL_ALIGNMENT_IN_BYTES); variable
|
/arkcompiler/runtime_core/runtime/tests/ |
D | humongous_obj_allocator_test.cpp | 127 size_t pool_size = DEFAULT_POOL_SIZE_FOR_ALLOC + PAGE_SIZE * i; in TEST_F() local
|