Searched defs:ScopedArenaAllocator (Results 1 - 2 of 2) sorted by relevance

/art/compiler/utils/
H A Dscoped_arena_allocator.cc71 // top_ptr_ shall be updated by ScopedArenaAllocator.
85 // much memory to zero out. Though ScopedArenaAllocator doesn't guarantee the memory is
107 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) function in class:art::ScopedArenaAllocator
117 ScopedArenaAllocator::~ScopedArenaAllocator() {
121 void ScopedArenaAllocator::Reset() {
H A Dscoped_arena_allocator.h29 class ScopedArenaAllocator;
34 // Holds a list of Arenas for use by ScopedArenaAllocator stack.
65 // Private - access via ScopedArenaAllocator or ScopedArenaAllocatorAdapter.
93 friend class ScopedArenaAllocator;
100 class ScopedArenaAllocator class in namespace:art
103 // Create a ScopedArenaAllocator directly on the ArenaStack when the scope of
106 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) {
107 void* addr = arena_stack->Alloc(sizeof(ScopedArenaAllocator), kArenaAllocMisc);
108 ScopedArenaAllocator* allocator = new(addr) ScopedArenaAllocator(arena_stac
[all...]

Completed in 34 milliseconds