Searched refs:num_bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/space/ |
D | large_object_space.cc | 108 num_bytes_allocated_(0), num_objects_allocated_(0), total_bytes_allocated_(0), in LargeObjectSpace() 165 num_bytes_allocated_ += allocation_size; in Alloc() 195 DCHECK_GE(num_bytes_allocated_, map_size); in Free() 197 num_bytes_allocated_ -= allocation_size; in Free() 453 DCHECK_LE(allocation_size, num_bytes_allocated_); in Free() 454 num_bytes_allocated_ -= allocation_size; in Free() 518 num_bytes_allocated_ += allocation_size; in Alloc()
|
D | large_object_space.h | 52 return num_bytes_allocated_; in GetBytesAllocated() 112 uint64_t num_bytes_allocated_; variable
|
/art/runtime/gc/ |
D | heap-inl.h | 148 num_bytes_allocated_.FetchAndAddSequentiallyConsistent(bytes_tl_bulk_allocated)) in AllocObjectWithAllocator() 406 size_t new_footprint = num_bytes_allocated_.LoadSequentiallyConsistent() + alloc_size; in IsOutOfMemoryOnAllocation()
|
D | heap.cc | 163 num_bytes_allocated_(0), in Heap() 454 num_bytes_allocated_.StoreRelaxed(0); in Heap() 1430 if (UNLIKELY(static_cast<size_t>(num_bytes_allocated_.LoadRelaxed()) < 10 * KB)) { in VerifyObjectBody() 1458 DCHECK_LE(freed_bytes, static_cast<int64_t>(num_bytes_allocated_.LoadRelaxed())); in RecordFree() 1460 num_bytes_allocated_.FetchAndSubSequentiallyConsistent(static_cast<ssize_t>(freed_bytes)); in RecordFree() 1480 CHECK_GE(num_bytes_allocated_.FetchAndSubSequentiallyConsistent(bytes_freed), in RecordFreeRevoke() 1880 uint32_t before_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in TransitionCollector() 2005 int32_t after_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in TransitionCollector() 3542 CHECK_GE(num_bytes_allocated_.LoadRelaxed(), num_bytes_freed_revoke_.LoadRelaxed()); in RevokeThreadLocalBuffers() 3558 CHECK_GE(num_bytes_allocated_.LoadRelaxed(), num_bytes_freed_revoke_.LoadRelaxed()); in RevokeRosAllocThreadLocalBuffers() [all …]
|
D | heap.h | 430 return num_bytes_allocated_.LoadSequentiallyConsistent(); in GetBytesAllocated() 479 size_t byte_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in GetFreeMemory() 1026 Atomic<size_t> num_bytes_allocated_; variable
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 917 …LOG(INFO) << "(before) num_bytes_allocated=" << heap_->num_bytes_allocated_.LoadSequentiallyConsis… in ReclaimPhase() 921 …LOG(INFO) << "(after) num_bytes_allocated=" << heap_->num_bytes_allocated_.LoadSequentiallyConsist… in ReclaimPhase() 1355 heap_->num_bytes_allocated_.FetchAndAddSequentiallyConsistent(bytes_allocated); in Copy()
|