Searched refs:num_bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/space/ |
D | large_object_space.cc | 112 num_bytes_allocated_(0), num_objects_allocated_(0), total_bytes_allocated_(0), in LargeObjectSpace() 169 num_bytes_allocated_ += allocation_size; in Alloc() 200 DCHECK_GE(num_bytes_allocated_, map_size); in Free() 202 num_bytes_allocated_ -= allocation_size; in Free() 458 DCHECK_LE(allocation_size, num_bytes_allocated_); in Free() 459 num_bytes_allocated_ -= allocation_size; in Free() 523 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 | 159 num_bytes_allocated_.FetchAndAddRelaxed(bytes_tl_bulk_allocated)) + bytes_tl_bulk_allocated; in AllocObjectWithAllocator() 408 size_t new_footprint = num_bytes_allocated_.LoadSequentiallyConsistent() + alloc_size; in IsOutOfMemoryOnAllocation()
|
D | heap.cc | 189 num_bytes_allocated_(0), in Heap() 551 num_bytes_allocated_.StoreRelaxed(0); in Heap() 1609 if (UNLIKELY(static_cast<size_t>(num_bytes_allocated_.LoadRelaxed()) < 10 * KB)) { in VerifyObjectBody() 1637 DCHECK_LE(freed_bytes, static_cast<int64_t>(num_bytes_allocated_.LoadRelaxed())); in RecordFree() 1639 num_bytes_allocated_.FetchAndSubSequentiallyConsistent(static_cast<ssize_t>(freed_bytes)); in RecordFree() 1659 CHECK_GE(num_bytes_allocated_.FetchAndSubSequentiallyConsistent(bytes_freed), in RecordFreeRevoke() 2101 uint32_t before_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in TransitionCollector() 2236 int32_t after_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in TransitionCollector() 3823 CHECK_GE(num_bytes_allocated_.LoadRelaxed(), num_bytes_freed_revoke_.LoadRelaxed()); in RevokeThreadLocalBuffers() 3839 CHECK_GE(num_bytes_allocated_.LoadRelaxed(), num_bytes_freed_revoke_.LoadRelaxed()); in RevokeRosAllocThreadLocalBuffers() [all …]
|
D | heap.h | 468 return num_bytes_allocated_.LoadSequentiallyConsistent(); in GetBytesAllocated() 518 size_t byte_allocated = num_bytes_allocated_.LoadSequentiallyConsistent(); in GetFreeMemory() 1155 Atomic<size_t> num_bytes_allocated_; variable
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 1332 …LOG(INFO) << "(before) num_bytes_allocated=" << heap_->num_bytes_allocated_.LoadSequentiallyConsis… in ReclaimPhase() 1336 …LOG(INFO) << "(after) num_bytes_allocated=" << heap_->num_bytes_allocated_.LoadSequentiallyConsist… in ReclaimPhase() 1857 heap_->num_bytes_allocated_.FetchAndAddSequentiallyConsistent(bytes_allocated); in Copy()
|