Home
last modified time | relevance | path

Searched refs:allocatorType (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dpool_map.cpp20 …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()
Dpool_manager.cpp30 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()
Dmem_pool.h95 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);
Dmalloc_mem_pool.h27 …ArenaT *AllocArenaImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const void *…
33 …static Pool AllocPoolImpl(size_t size, SpaceType spaceType, AllocatorType allocatorType, const voi…
Dpool_map.h77 AllocatorType allocatorType, const void *allocatorAddr);
101 … void Initialize(MapNumType segmentFirstMapNum, SpaceType spaceType, AllocatorType allocatorType, in Initialize() argument
114 allocatorType_ = allocatorType; in Initialize()
Dpool_manager.h32 …_PUBLIC_API static Arena *AllocArena(size_t size, SpaceType spaceType, AllocatorType allocatorType,
Dmmap_mem_pool.h201 …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…
Dmalloc_mem_pool-inl.h39 [[maybe_unused]] AllocatorType allocatorType, in AllocArenaImpl() argument
79 [[maybe_unused]] AllocatorType allocatorType, in AllocPoolImpl() argument
Dmmap_mem_pool-inl.h228 … 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/
Dheap_space.cpp152 …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 …]
Dheap_space.h94 …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 …]
Dregion_space.cpp250 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()
Dregion_space.h523 …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_()
Dregion_allocator-inl.h34 … SpaceType spaceType, AllocatorType allocatorType, in RegionAllocatorBase() argument
42 regionSpace_(spaceType, allocatorType, &regionPool_, emptyTenuredRegionsMaxCount), in RegionAllocatorBase()
63 … SpaceType spaceType, AllocatorType allocatorType, in RegionAllocatorBase() argument
69 regionSpace_(spaceType, allocatorType, sharedRegionPool, emptyTenuredRegionsMaxCount), in RegionAllocatorBase()
Dregion_allocator.h71 … AllocatorType allocatorType, size_t initSpaceSize, bool extend, size_t regionSize,
74 AllocatorType allocatorType, RegionPool *sharedRegionPool,
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dpool_map_test.cpp50 …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()