Home
last modified time | relevance | path

Searched refs:arena_stack (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dscoped_arena_allocator.cc110 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() argument
111 : DebugStackReference(arena_stack), in ScopedArenaAllocator()
113 ArenaAllocatorStats(*arena_stack->CurrentStats()), in ScopedArenaAllocator()
114 arena_stack_(arena_stack), in ScopedArenaAllocator()
115 mark_arena_(arena_stack->top_arena_), in ScopedArenaAllocator()
116 mark_ptr_(arena_stack->top_ptr_), in ScopedArenaAllocator()
117 mark_end_(arena_stack->top_end_) { in ScopedArenaAllocator()
Dscoped_arena_allocator.h137 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) { in Create() argument
138 void* addr = arena_stack->Alloc(sizeof(ScopedArenaAllocator), kArenaAllocMisc); in Create()
139 ScopedArenaAllocator* allocator = new(addr) ScopedArenaAllocator(arena_stack); in Create()
144 explicit ScopedArenaAllocator(ArenaStack* arena_stack);