Home
last modified time | relevance | path

Searched refs:new_arena (Results 1 – 3 of 3) sorted by relevance

/ark/runtime_core/runtime/mem/
Dframe_allocator-inl.h65 …auto new_arena = mem_pool_alloc_->AllocArena<FramesArena>(arena_size, SpaceType::SPACE_TYPE_INTERN… in TryAllocateNewArena() local
67 if (new_arena == nullptr) { in TryAllocateNewArena()
72 last_alloc_arena_->LinkNext(new_arena); in TryAllocateNewArena()
73 new_arena->LinkPrev(last_alloc_arena_); in TryAllocateNewArena()
74 last_alloc_arena_ = new_arena; in TryAllocateNewArena()
76 …OG_FRAME_ALLOCATOR(DEBUG) << "Successfully allocate new arena with addr " << std::hex << new_arena; in TryAllocateNewArena()
Dpygote_space_allocator-inl.h124 auto new_arena = in Alloc() local
126 if (new_arena == nullptr) { in Alloc()
129 CreateLiveBitmap(new_arena, DEFAULT_ARENA_SIZE); in Alloc()
130 new_arena->LinkTo(arena_); in Alloc()
131 arena_ = new_arena; in Alloc()
/ark/runtime_core/libpandabase/mem/
Darena_allocator.cpp156 Arena *new_arena = PoolManager::AllocArena(pool_size, space_type_, GetAllocatorType(), this); in AddArenaFromPool() local
157 if (UNLIKELY(new_arena == nullptr)) { in AddArenaFromPool()
160 new_arena->LinkTo(arenas_); in AddArenaFromPool()
161 arenas_ = new_arena; in AddArenaFromPool()