Searched refs:num_bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/space/ |
D | large_object_space.cc | 116 num_bytes_allocated_(0), num_objects_allocated_(0), total_bytes_allocated_(0), in LargeObjectSpace() 166 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() 484 DCHECK_LE(allocation_size, num_bytes_allocated_); in Free() 485 num_bytes_allocated_ -= allocation_size; in Free() 544 num_bytes_allocated_ += allocation_size; in Alloc()
|
D | large_object_space.h | 55 return num_bytes_allocated_; in GetBytesAllocated() 132 uint64_t num_bytes_allocated_ GUARDED_BY(lock_);
|
/art/runtime/gc/ |
D | heap-inl.h | 194 num_bytes_allocated_.fetch_add(bytes_tl_bulk_allocated, std::memory_order_relaxed); in AllocObjectWithAllocator() 447 size_t old_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in IsOutOfMemoryOnAllocation()
|
D | heap.h | 540 return num_bytes_allocated_.load(std::memory_order_relaxed); in GetBytesAllocated() 602 num_bytes_allocated_.load(std::memory_order_relaxed)); in GetFreeMemory() 1428 Atomic<size_t> num_bytes_allocated_; variable
|
D | heap.cc | 327 num_bytes_allocated_(0), in Heap() 693 num_bytes_allocated_.store(0, std::memory_order_relaxed); in Heap() 1716 if (UNLIKELY(num_bytes_allocated_.load(std::memory_order_relaxed) < 10 * KB)) { in VerifyObjectBody() 1749 static_cast<int64_t>(num_bytes_allocated_.load(std::memory_order_relaxed))); in RecordFree() 1751 num_bytes_allocated_.fetch_sub(static_cast<ssize_t>(freed_bytes), std::memory_order_relaxed); in RecordFree() 1771 CHECK_GE(num_bytes_allocated_.fetch_sub(bytes_freed, std::memory_order_relaxed), in RecordFreeRevoke() 3887 CHECK_GE(num_bytes_allocated_.load(std::memory_order_relaxed), in IncrementNumberOfBytesFreedRevoke()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 2770 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 2776 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 3439 heap_->num_bytes_allocated_.fetch_sub(bytes_allocated, std::memory_order_relaxed); in Copy() 3495 heap_->num_bytes_allocated_.fetch_add(bytes_allocated, std::memory_order_relaxed); in Copy()
|