Home
last modified time | relevance | path

Searched refs:bytes_freed (Results 1 – 5 of 5) sorted by relevance

/art/runtime/gc/space/
Ddlmalloc_space.cc173 const size_t bytes_freed = AllocationSizeNonvirtual(ptr, nullptr); in Free() local
178 return bytes_freed; in Free()
185 size_t bytes_freed = 0; in FreeList() local
193 bytes_freed += AllocationSizeNonvirtual(ptr, nullptr); in FreeList()
220 return bytes_freed; in FreeList()
Drosalloc_space.cc237 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList() local
239 CHECK_EQ(verify_bytes, bytes_freed); in FreeList()
241 return bytes_freed; in FreeList()
/art/test/099-vmdebug/src/
DMain.java184 String bytes_freed = VMDebug.getRuntimeStat("art.gc.bytes-freed"); in testRuntimeStat() local
193 checkNumber(bytes_freed); in testRuntimeStat()
211 String bytes_freed = map.get("art.gc.bytes-freed"); in testRuntimeStats() local
220 checkNumber(bytes_freed); in testRuntimeStats()
/art/runtime/gc/collector/
Dmark_compact.cc399 int64_t bytes_freed = reinterpret_cast<int64_t>(space_->End()) - in Compact() local
402 space_->RecordFree(objects_freed, bytes_freed); in Compact()
403 RecordFree(ObjectBytePair(objects_freed, bytes_freed)); in Compact()
406 memset(bump_pointer_, 0, bytes_freed); in Compact()
/art/runtime/gc/
Dheap.cc1656 size_t bytes_freed = num_bytes_freed_revoke_.LoadSequentiallyConsistent(); in RecordFreeRevoke() local
1657 CHECK_GE(num_bytes_freed_revoke_.FetchAndSubSequentiallyConsistent(bytes_freed), in RecordFreeRevoke()
1658 bytes_freed) << "num_bytes_freed_revoke_ underflow"; in RecordFreeRevoke()
1659 CHECK_GE(num_bytes_allocated_.FetchAndSubSequentiallyConsistent(bytes_freed), in RecordFreeRevoke()
1660 bytes_freed) << "num_bytes_allocated_ underflow"; in RecordFreeRevoke()
1661 GetCurrentGcIteration()->SetFreedRevoke(bytes_freed); in RecordFreeRevoke()