| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | pool_map.cpp | 20 …dPoolToMap(const void *poolAddr, size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, in AddPoolToMap() argument 28 poolMap_[firstMapNum].Initialize(firstMapNum, spaceType, allocatorType, allocatorAddr); in AddPoolToMap() 30 poolMap_[i].Initialize(firstMapNum, spaceType, allocatorType, allocatorAddr); in AddPoolToMap() 48 AllocatorType allocatorType = poolMap_[mapNum].GetAllocatorType(); in GetAllocatorInfo() local 51 ASSERT(allocatorType != AllocatorType::UNDEFINED); in GetAllocatorInfo() 53 return AllocatorInfo(allocatorType, allocatorAddr); in GetAllocatorInfo()
|
| D | pool_manager.cpp | 30 Arena *PoolManager::AllocArena(size_t size, SpaceType spaceType, AllocatorType allocatorType, const… in AllocArena() argument 34 size, spaceType, allocatorType, allocatorAddr); in AllocArena() 36 …ool_->template AllocArenaImpl<Arena, OSPagesAllocPolicy::NO_POLICY>(size, spaceType, allocatorType, in AllocArena()
|
| D | mem_pool.h | 95 inline ArenaT *AllocArena(size_t size, SpaceType spaceType, AllocatorType allocatorType, 99 size, spaceType, allocatorType, allocatorAddr); 131 …Pool AllocPool(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *allocato… 134 size, spaceType, allocatorType, allocatorAddr);
|
| D | malloc_mem_pool.h | 27 …ArenaT *AllocArenaImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *… 33 …static Pool AllocPoolImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const voi…
|
| D | pool_map.h | 77 AllocatorType allocatorType, const void *allocatorAddr); 101 … void Initialize(MapNumType segmentFirstMapNum, SpaceType spaceType, AllocatorType allocatorType, in Initialize() argument 114 allocatorType_ = allocatorType; in Initialize()
|
| D | pool_manager.h | 32 …_PUBLIC_API static Arena *AllocArena(size_t size, SpaceType spaceType, AllocatorType allocatorType,
|
| D | mmap_mem_pool.h | 201 …ArenaT *AllocArenaImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *… 213 …Pool AllocPoolImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *allo… 222 …Pool AllocPoolUnsafe(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *al…
|
| D | malloc_mem_pool-inl.h | 39 [[maybe_unused]] AllocatorType allocatorType, in AllocArenaImpl() argument 79 [[maybe_unused]] AllocatorType allocatorType, in AllocPoolImpl() argument
|
| D | mmap_mem_pool-inl.h | 228 … ArenaT *MmapMemPool::AllocArenaImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, in AllocArenaImpl() argument 234 …Pool poolForArena = AllocPoolUnsafe<OS_ALLOC_POLICY>(size, spaceType, allocatorType, allocatorAddr… in AllocArenaImpl() 338 …ne Pool MmapMemPool::AllocPoolUnsafe(size_t size, SpaceType spaceType, AllocatorType allocatorType, in AllocPoolUnsafe() argument 384 allocatorType, allocatorAddr); in AllocPoolUnsafe() 392 …AddToNonObjectPoolsMap(std::make_tuple(pool, AllocatorInfo(allocatorType, allocatorAddr), spaceTyp… in AllocPoolUnsafe() 440 …line Pool MmapMemPool::AllocPoolImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, in AllocPoolImpl() argument 446 Pool pool = AllocPoolUnsafe<OS_ALLOC_POLICY>(size, spaceType, allocatorType, allocatorAddr); in AllocPoolImpl()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | heap_space.cpp | 152 …Pool HeapSpace::TryAllocPoolBase(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, in TryAllocPoolBase() argument 162 poolSize, spaceType, allocatorType, allocatorPtr); in TryAllocPoolBase() 165 poolSize, spaceType, allocatorType, allocatorPtr); in TryAllocPoolBase() 172 Pool HeapSpace::TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, voi… in TryAllocPool() argument 175 …return TryAllocPoolBase(poolSize, spaceType, allocatorType, allocatorPtr, GetCurrentFreeBytes(), &… in TryAllocPool() 178 …a *HeapSpace::TryAllocArenaBase(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType, in TryAllocArenaBase() argument 186 return PoolManager::AllocArena(arenaSize, spaceType, allocatorType, allocatorPtr); in TryAllocArenaBase() 193 Arena *HeapSpace::TryAllocArena(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType,… in TryAllocArena() argument 196 …return TryAllocArenaBase(arenaSize, spaceType, allocatorType, allocatorPtr, GetCurrentFreeBytes(),… in TryAllocArena() 367 …erationalSpaces::AllocSharedPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, in AllocSharedPool() argument [all …]
|
| D | heap_space.h | 94 …card]] virtual Pool TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, 98 …]] virtual Arena *TryAllocArena(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType, 193 …odiscard]] Pool TryAllocPoolBase(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, 197 …card]] Arena *TryAllocArenaBase(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType, 329 …[[nodiscard]] Pool AllocAlonePoolForYoung(SpaceType spaceType, AllocatorType allocatorType, void *… 335 …card]] Pool TryAllocPoolForYoung(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, 342 …rd]] Pool TryAllocPoolForTenured(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, 346 … [[nodiscard]] Pool TryAllocPool(size_t poolSize, SpaceType spaceType, AllocatorType allocatorType, 349 … Arena *TryAllocArenaForTenured(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType, 352 …odiscard]] Arena *TryAllocArena(size_t arenaSize, SpaceType spaceType, AllocatorType allocatorType, [all …]
|
| D | region_space.cpp | 250 Region *RegionPool::NewRegion(RegionSpace *space, SpaceType spaceType, AllocatorType allocatorType,… in NewRegion() argument 280 ? spaces_->TryAllocPoolForYoung(regionSize, spaceType, allocatorType, this).GetMem() in NewRegion() 281 …: spaces_->TryAllocPoolForTenured(regionSize, spaceType, allocatorType, this, allocPolicy).GetMem(… in NewRegion()
|
| D | region_space.h | 523 …Region *NewRegion(RegionSpace *space, SpaceType spaceType, AllocatorType allocatorType, size_t reg… 610 explicit RegionSpace(SpaceType spaceType, AllocatorType allocatorType, RegionPool *regionPool, 613 allocatorType_(allocatorType), in spaceType_()
|
| D | region_allocator-inl.h | 34 … SpaceType spaceType, AllocatorType allocatorType, in RegionAllocatorBase() argument 42 regionSpace_(spaceType, allocatorType, ®ionPool_, emptyTenuredRegionsMaxCount), in RegionAllocatorBase() 63 … SpaceType spaceType, AllocatorType allocatorType, in RegionAllocatorBase() argument 69 regionSpace_(spaceType, allocatorType, sharedRegionPool, emptyTenuredRegionsMaxCount), in RegionAllocatorBase()
|
| D | region_allocator.h | 71 … AllocatorType allocatorType, size_t initSpaceSize, bool extend, size_t regionSize, 74 AllocatorType allocatorType, RegionPool *sharedRegionPool,
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | pool_map_test.cpp | 50 …void AddToPoolMap(Pool pool, SpaceType spaceType, AllocatorType allocatorType, void *allocatorAddr… in AddToPoolMap() argument 56 … poolMap_.AddPoolToMap(pool.GetMem(), pool.GetSize(), spaceType, allocatorType, allocatorAddr); in AddToPoolMap() 100 …void CheckRandomPoolAddress(Pool pool, SpaceType spaceType, AllocatorType allocatorType, uintptr_t… in CheckRandomPoolAddress() argument 104 ASSERT_EQ(GetAllocatorInfoForAddr(poolAddr).GetType(), allocatorType); in CheckRandomPoolAddress()
|