Home
last modified time | relevance | path

Searched refs:AllocatorInfo (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/libpandabase/mem/
Dpool_map.h44 class AllocatorInfo {
46 …explicit constexpr AllocatorInfo(AllocatorType type, const void *addr) : type_(type), header_addr_… in AllocatorInfo() function
62 virtual ~AllocatorInfo() = default;
64 DEFAULT_COPY_SEMANTIC(AllocatorInfo);
65 DEFAULT_MOVE_SEMANTIC(AllocatorInfo);
80 AllocatorInfo GetAllocatorInfo(const void *addr) const;
Dmmap_mem_pool.h192 AllocatorInfo GetAllocatorInfoForAddrImpl(const void *addr) const;
199 void AddToNonObjectPoolsMap(std::tuple<Pool, AllocatorInfo, SpaceType> pool_info);
201 std::tuple<Pool, AllocatorInfo, SpaceType> FindAddrInNonObjectPoolsMap(const void *addr) const;
271 std::map<const void *, std::tuple<Pool, AllocatorInfo, SpaceType>> non_object_mmaped_pools_;
Dpool_map.cpp48 AllocatorInfo PoolMap::GetAllocatorInfo(const void *addr) const in GetAllocatorInfo()
56 return AllocatorInfo(allocator_type, allocator_addr); in GetAllocatorInfo()
Dmalloc_mem_pool-inl.h94 inline AllocatorInfo MallocMemPool::GetAllocatorInfoForAddrImpl([[maybe_unused]] const void *addr) in GetAllocatorInfoForAddrImpl()
98 return AllocatorInfo(AllocatorType::UNDEFINED, nullptr); in GetAllocatorInfoForAddrImpl()
Dmalloc_mem_pool.h37 static AllocatorInfo GetAllocatorInfoForAddrImpl(const void *addr);
Dmmap_mem_pool-inl.h155 [[maybe_unused]] AllocatorInfo info = std::get<1>(i.second); in ~MmapMemPool()
358 …AddToNonObjectPoolsMap(std::make_tuple(pool, AllocatorInfo(allocator_type, allocator_addr), space_… in AllocPoolUnsafe()
424 inline void MmapMemPool::AddToNonObjectPoolsMap(std::tuple<Pool, AllocatorInfo, SpaceType> pool_inf… in AddToNonObjectPoolsMap() argument
438 inline std::tuple<Pool, AllocatorInfo, SpaceType> MmapMemPool::FindAddrInNonObjectPoolsMap(const vo… in FindAddrInNonObjectPoolsMap()
454 inline AllocatorInfo MmapMemPool::GetAllocatorInfoForAddrImpl(const void *addr) const in GetAllocatorInfoForAddrImpl()
460AllocatorInfo info = pool_map_.GetAllocatorInfo(ToVoidPtr(ToUintPtr(addr) - GetMinObjectAddress())… in GetAllocatorInfoForAddrImpl()
Dmem_pool.h132 AllocatorInfo GetAllocatorInfoForAddr(const void *addr) const in GetAllocatorInfoForAddr()
/arkcompiler/runtime_core/libpandabase/tests/
Dpool_map_test.cpp107 AllocatorInfo GetAllocatorInfoForAddr(const void *addr) const in GetAllocatorInfoForAddr()