Home
last modified time | relevance | path

Searched refs:num_bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/space/
Dlarge_object_space.cc118 num_bytes_allocated_(0), num_objects_allocated_(0), total_bytes_allocated_(0), in LargeObjectSpace()
171 num_bytes_allocated_ += allocation_size; in Alloc()
205 DCHECK_GE(num_bytes_allocated_, map_size); in Free()
207 num_bytes_allocated_ -= allocation_size; in Free()
519 DCHECK_LE(allocation_size, num_bytes_allocated_); in Free()
520 num_bytes_allocated_ -= allocation_size; in Free()
579 num_bytes_allocated_ += allocation_size; in Alloc()
Dlarge_object_space.h55 return num_bytes_allocated_; in GetBytesAllocated()
144 uint64_t num_bytes_allocated_ GUARDED_BY(lock_);
/art/runtime/gc/
Dheap.h564 return num_bytes_allocated_.load(std::memory_order_relaxed); in GetBytesAllocated()
569 return num_bytes_allocated_.fetch_add(bytes, std::memory_order_relaxed); in AddBytesAllocated()
627 num_bytes_allocated_.load(std::memory_order_relaxed)); in GetFreeMemory()
1510 Atomic<size_t> num_bytes_allocated_; variable
Dheap-inl.h450 size_t old_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in IsOutOfMemoryOnAllocation()
Dheap.cc359 num_bytes_allocated_(0), in Heap()
755 num_bytes_allocated_.store(0, std::memory_order_relaxed); in Heap()
1856 if (UNLIKELY(num_bytes_allocated_.load(std::memory_order_relaxed) < 10 * KB)) { in VerifyObjectBody()
1889 static_cast<int64_t>(num_bytes_allocated_.load(std::memory_order_relaxed))); in RecordFree()
1891 num_bytes_allocated_.fetch_sub(static_cast<ssize_t>(freed_bytes), std::memory_order_relaxed); in RecordFree()
1911 CHECK_GE(num_bytes_allocated_.fetch_sub(bytes_freed, std::memory_order_relaxed), in RecordFreeRevoke()
4128 CHECK_GE(num_bytes_allocated_.load(std::memory_order_relaxed), in IncrementNumberOfBytesFreedRevoke()
/art/runtime/gc/collector/
Dconcurrent_copying.cc2821 << heap_->num_bytes_allocated_.load(); in ReclaimPhase()
2827 << heap_->num_bytes_allocated_.load(); in ReclaimPhase()
3491 heap_->num_bytes_allocated_.fetch_sub(bytes_allocated, std::memory_order_relaxed); in Copy()
3543 heap_->num_bytes_allocated_.fetch_add(bytes_allocated, std::memory_order_relaxed); in Copy()