Home
last modified time | relevance | path

Searched refs:freed (Results 1 – 12 of 12) sorted by relevance

/art/runtime/gc/collector/
Dgarbage_collector.cc269 void GarbageCollector::RecordFree(const ObjectBytePair& freed) { in RecordFree() argument
270 GetCurrentIteration()->freed_.Add(freed); in RecordFree()
271 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
273 void GarbageCollector::RecordFreeLOS(const ObjectBytePair& freed) { in RecordFreeLOS() argument
274 GetCurrentIteration()->freed_los_.Add(freed); in RecordFreeLOS()
275 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Diteration.h63 void SetFreedRevoke(uint64_t freed) { in SetFreedRevoke() argument
64 freed_bytes_revoke_ = freed; in SetFreedRevoke()
Dgarbage_collector.h109 void RecordFree(const ObjectBytePair& freed);
111 void RecordFreeLOS(const ObjectBytePair& freed);
Dmark_sweep.cc1213 ObjectBytePair freed; in SweepArray() local
1257 freed.objects += chunk_free_pos; in SweepArray()
1258 freed.bytes += alloc_space->FreeList(self, chunk_free_pos, chunk_free_buffer); in SweepArray()
1269 freed.objects += chunk_free_pos; in SweepArray()
1270 freed.bytes += alloc_space->FreeList(self, chunk_free_pos, chunk_free_buffer); in SweepArray()
1299 RecordFree(freed); in SweepArray()
Dconcurrent_copying.cc2421 ObjectBytePair freed; in SweepArray() local
2452 freed.objects += chunk_free_pos; in SweepArray()
2453 freed.bytes += alloc_space->FreeList(self, chunk_free_pos, chunk_free_buffer); in SweepArray()
2464 freed.objects += chunk_free_pos; in SweepArray()
2465 freed.bytes += alloc_space->FreeList(self, chunk_free_pos, chunk_free_buffer); in SweepArray()
2494 RecordFree(freed); in SweepArray()
/art/test/152-dead-large-object/
Dinfo.txt1 Test that large objects are freed properly after a GC.
/art/test/141-class-unload/
Dinfo.txt1 Test that classes get freed after they are no longer reachable.
/art/runtime/gc/space/
Dmalloc_space.cc77 for (auto& freed : recent_freed_objects_) { in MallocSpace() local
78 freed.first = nullptr; in MallocSpace()
79 freed.second = nullptr; in MallocSpace()
274 context->freed.objects += num_ptrs; in SweepCallback()
275 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
Dmemory_tool_malloc_space-inl.h253 size_t freed = 0; in FreeList() local
261 freed += Free(self, ptrs[i]); in FreeList()
264 return freed; in FreeList()
Dspace.cc107 return scc.freed; in Sweep()
Dlarge_object_space.cc607 context->freed.objects += num_ptrs; in SweepCallback()
608 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
627 return scc.freed; in Sweep()
Dspace.h254 collector::ObjectBytePair freed; member