Searched refs:Arena (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/ |
D | malloc_arena_pool.cc | 31 class MallocArena final : public Arena { 78 void Arena::Reset() { in Reset() 94 Arena* arena = free_arenas_; in ReclaimMemory() 105 Arena* MallocArenaPool::AllocArena(size_t size) { in AllocArena() 106 Arena* ret = nullptr; in AllocArena() 128 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated() 134 void MallocArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain() 136 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain() 144 Arena* next = first->next_; in FreeArenaChain() 152 Arena* last = first; in FreeArenaChain()
|
D | malloc_arena_pool.h | 30 Arena* AllocArena(size_t size) override; 31 void FreeArenaChain(Arena* first) override; 39 Arena* free_arenas_;
|
D | arena_allocator.h | 31 class Arena; variable 126 const Arena* first ATTRIBUTE_UNUSED, in Dump() 141 void Dump(std::ostream& os, const Arena* first, ssize_t lost_bytes_adjustment) const; 178 class Arena { 180 Arena(); 181 virtual ~Arena() { } in ~Arena() 215 Arena* next_; 226 DISALLOW_COPY_AND_ASSIGN(Arena); 233 virtual Arena* AllocArena(size_t size) = 0; 234 virtual void FreeArenaChain(Arena* first) = 0; [all …]
|
D | arena_allocator.cc | 131 void ArenaAllocatorStatsImpl<kCount>::Dump(std::ostream& os, const Arena* first, in Dump() 136 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump() 189 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena() function in art::Arena 199 for (Arena* cur_arena = arena_head_->next_; cur_arena != nullptr; in BytesUsed() 273 Arena* new_arena = pool_->AllocArena(std::max(arena_allocator::kArenaDefaultSize, bytes)); in AllocFromNewArena() 318 for (const Arena* cur_arena = arena_head_; cur_arena != nullptr; cur_arena = cur_arena->next_) { in Contains() 328 const Arena* first_arena, in MemStats()
|
D | scoped_arena_allocator.cc | 63 Arena* tail = top_arena_->next_; in AllocateFromNextArena() 112 for (Arena* arena = bottom_arena_; arena != nullptr; arena = arena->next_) { in ApproximatePeakBytes() 172 Arena* start; in ApproximatePeakBytes() 184 for (Arena* arena = start; arena != nullptr; arena = arena->next_) { in ApproximatePeakBytes()
|
D | scoped_arena_allocator.h | 122 Arena* bottom_arena_; 123 Arena* top_arena_; 178 Arena* mark_arena_;
|
D | arena_allocator_test.cc | 30 for (Arena* a = allocator->arena_head_; a != nullptr; a = a->next_) { in NumberOfArenas()
|
/art/runtime/base/ |
D | mem_map_arena_pool.cc | 34 class MemMapArena final : public Arena { 93 Arena* arena = free_arenas_; in ReclaimMemory() 104 Arena* MemMapArenaPool::AllocArena(size_t size) { in AllocArena() 105 Arena* ret = nullptr; in AllocArena() 123 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in TrimMaps() 131 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated() 137 void MemMapArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain() 139 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain() 147 Arena* next = first->next_; in FreeArenaChain() 155 Arena* last = first; in FreeArenaChain()
|
D | mem_map_arena_pool.h | 28 Arena* AllocArena(size_t size) override; 29 void FreeArenaChain(Arena* first) override; 39 Arena* free_arenas_;
|