| /arkcompiler/runtime_core/static_core/runtime/include/mem/ |
| H A D | allocator-inl.h | 23 inline void *ObjectAllocatorBase::AllocateSafe(size_t size, Alignment align, AllocT *objectAllocator, size_t poolSize, in AllocateSafe() argument 65 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local 69 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in AllocateTenuredImpl() local 73 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)); in AllocateTenuredImpl() local 34 AddPoolsAndAlloc(size_t size, Alignment align, AllocT *objectAllocator, size_t poolSize, SpaceType spaceType, HeapSpace *heapSpace) AddPoolsAndAlloc() argument [all...] |
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| H A D | pool_map.cpp | 20 void PoolMap::AddPoolToMap(const void *poolAddr, size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, in AddPoolToMap() argument 34 void PoolMap::RemovePoolFromMap(const void *poolAddr, size_t poolSize) in RemovePoolFromMap() argument
|
| H A D | arena_allocator.cpp | 149 bool ArenaAllocatorT<USE_OOM_HANDLER>::AddArenaFromPool(size_t poolSize) in AddArenaFromPool() argument
|
| H A D | mmap_mem_pool-inl.h | 68 size_t poolSize = pool.GetSize(); in PopFreePool() local 212 inline void MmapPoolMap::ReleasePagesInUnreturnedPool(size_t poolSize) in ReleasePagesInUnreturnedPool() argument 645 auto poolSize = std::min(RELEASE_MEM_SIZE, unreturnedSize); ReleasePagesInUnreturnedPoolWithInterruption() local 682 auto poolSize = std::min(RELEASE_MEM_SIZE, unreturnedSize); ReleasePagesInMainPoolWithInterruption() local 687 ReleasePagesInMainPool(size_t poolSize) ReleasePagesInMainPool() argument [all...] |
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| H A D | humongous_obj_allocator_test.cpp | 133 size_t poolSize = DEFAULT_POOL_SIZE_FOR_ALLOC + PAGE_SIZE * i; in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| H A D | internal_allocator.cpp | 141 void *AllocInRunSlots(AllocatorT *runslotsAllocator, size_t size, Alignment align, size_t poolSize) in AllocInRunSlots() argument 201 size_t poolSize = FreeListAllocatorT::GetMinPoolSize(); in AllocViaFreeListAllocator() local 229 size_t poolSize = HumongousObjAllocatorT::GetMinPoolSize(size); in AllocViaHumongousAllocator() local
|
| H A D | humongous_obj_allocator-inl.h | 188 size_t poolSize = memoryPool->GetPoolSize(); in ReleaseUnusedPagesOnAlloc() local 461 size_t poolSize = pool->GetPoolSize(); in SortedInsert() local
|
| H A D | allocator.cpp | 58 auto poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, PANDA_DEFAULT_ALLOCATOR_POOL_SIZE); in HaveEnoughPoolsInObjectSpace() local 119 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in Allocate() local 122 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); in Allocate() local 125 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)); in Allocate() local 296 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, ObjectAllocator::GetMinPoolSize()); in AllocateNonMovable() local 300 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, LargeObjectAllocator::GetMinPoolSize()); AllocateNonMovable() local 306 size_t poolSize = std::max(PANDA_DEFAULT_POOL_SIZE, HumongousObjectAllocator::GetMinPoolSize(size)); AllocateNonMovable() local [all...] |
| H A D | heap_space.cpp | 116 inline std::optional<size_t> HeapSpace::WillAlloc(size_t poolSize, size_t currentFreeBytesInSpace, in WillAlloc() argument 152 inline Pool HeapSpace::TryAllocPoolBase(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, in TryAllocPoolBase() argument 172 Pool HeapSpace::TryAllocPool(size_t poolSize, SpaceTyp argument 199 FreePool(void *poolMem, size_t poolSize, bool releasePages) FreePool() argument 367 AllocSharedPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, void *allocatorPtr) AllocSharedPool() argument 387 TryAllocPoolForYoung(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, void *allocatorPtr) TryAllocPoolForYoung() argument 397 TryAllocPoolForTenured(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, void *allocatorPtr, OSPagesAllocPolicy allocPolicy) TryAllocPoolForTenured() argument 405 TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, void *allocatorPtr) TryAllocPool() argument 425 FreeSharedPool(void *poolMem, size_t poolSize) FreeSharedPool() argument 433 FreeYoungPool(void *poolMem, size_t poolSize, bool releasePages) FreeYoungPool() argument 445 PromoteYoungPool(size_t poolSize) PromoteYoungPool() argument 455 FreeTenuredPool(void *poolMem, size_t poolSize, bool releasePages) FreeTenuredPool() argument [all...] |
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| H A 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/ |
| H A D | ecma_param_configuration.h | 40 EcmaParamConfiguration(HeapType heapType, size_t poolSize, size_t heapSize = 1_MB) in EcmaParamConfiguration() argument
|