Home
last modified time | relevance | path

Searched refs:arena (Results 1 – 7 of 7) sorted by relevance

/art/runtime/base/
Dmem_map_arena_pool.cc93 Arena* arena = free_arenas_; in ReclaimMemory() local
95 delete arena; in ReclaimMemory()
123 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in TrimMaps() local
124 arena->Release(); in TrimMaps()
131 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated() local
132 total += arena->GetBytesAllocated(); in GetBytesAllocated()
139 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain() local
140 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
/art/libartbase/base/
Dmalloc_arena_pool.cc94 Arena* arena = free_arenas_; in ReclaimMemory() local
96 delete arena; in ReclaimMemory()
128 for (Arena* arena = free_arenas_; arena != nullptr; arena = arena->next_) { in GetBytesAllocated() local
129 total += arena->GetBytesAllocated(); in GetBytesAllocated()
136 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain() local
137 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
Dscoped_arena_allocator.cc112 for (Arena* arena = bottom_arena_; arena != nullptr; arena = arena->next_) { in ApproximatePeakBytes() local
113 sum += arena->bytes_allocated_; in ApproximatePeakBytes()
184 for (Arena* arena = start; arena != nullptr; arena = arena->next_) { in ApproximatePeakBytes() local
185 if (arena == arena_stack_->top_arena_) { in ApproximatePeakBytes()
186 sum += static_cast<size_t>(arena_stack_->top_ptr_ - arena->Begin()); in ApproximatePeakBytes()
189 sum += arena->bytes_allocated_; in ApproximatePeakBytes()
Darena_allocator.cc135 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) { in Dump() local
136 malloc_bytes += arena->Size(); in Dump()
137 lost_bytes += arena->RemainingSpace(); in Dump()
/art/compiler/optimizing/
Dinstruction_simplifier_x86_shared.cc43 ArenaAllocator* arena = instruction->GetBlock()->GetGraph()->GetAllocator(); in TryCombineAndNot() local
44 HX86AndNot* and_not = new (arena) HX86AndNot(type, in TryCombineAndNot()
79 ArenaAllocator* arena = instruction->GetBlock()->GetGraph()->GetAllocator(); in TryGenerateResetLeastSetBit() local
80 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateResetLeastSetBit()
112 ArenaAllocator* arena = instruction->GetBlock()->GetGraph()->GetAllocator(); in TryGenerateMaskUptoLeastSetBit() local
113 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateMaskUptoLeastSetBit()
Dsuperblock_cloner_test.cc154 ArenaAllocator* arena = graph_->GetAllocator(); in TEST_F() local
163 arena, graph_->GetBlocks().size(), false, kArenaAllocSuperblockCloner); in TEST_F()
164 HBasicBlockMap bb_map(std::less<HBasicBlock*>(), arena->Adapter(kArenaAllocSuperblockCloner)); in TEST_F()
165 HInstructionMap hir_map(std::less<HInstruction*>(), arena->Adapter(kArenaAllocSuperblockCloner)); in TEST_F()
235 ArenaAllocator* arena = graph_->GetAllocator(); in TEST_F() local
244 arena, graph_->GetBlocks().size(), false, kArenaAllocSuperblockCloner); in TEST_F()
274 ArenaAllocator* arena = graph_->GetAllocator(); in TEST_F() local
283 arena, graph_->GetBlocks().size(), false, kArenaAllocSuperblockCloner); in TEST_F()
629 ArenaAllocator* arena = graph_->GetAllocator(); in TEST_F() local
639 arena, graph_->GetBlocks().size(), false, kArenaAllocSuperblockCloner); in TEST_F()
[all …]
Dnodes.h1581 HInstruction* Clone(ArenaAllocator* arena) const override { \
1583 return new (arena) H##type(*this->As##type()); \
2348 virtual HInstruction* Clone(ArenaAllocator* arena ATTRIBUTE_UNUSED) const { in FOR_EACH_INSTRUCTION()