HomeSort by relevance Sort by last modified time
    Searched defs:ScopedArenaAllocator (Results 1 - 2 of 2) sorted by null

  /art/compiler/utils/
scoped_arena_allocator.cc 71 // 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)
117 ScopedArenaAllocator::~ScopedArenaAllocator() {
121 void ScopedArenaAllocator::Reset() {
scoped_arena_allocator.h 29 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
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_stack)
    [all...]

Completed in 65 milliseconds