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 | 185 num_bytes_allocated_.fetch_add(bytes_tl_bulk_allocated, std::memory_order_relaxed); in AllocObjectWithAllocator() 433 size_t old_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in IsOutOfMemoryOnAllocation()
|
D | heap.h | 548 return num_bytes_allocated_.load(std::memory_order_relaxed); in GetBytesAllocated() 610 num_bytes_allocated_.load(std::memory_order_relaxed)); in GetFreeMemory() 1388 Atomic<size_t> num_bytes_allocated_; variable
|
D | heap.cc | 290 num_bytes_allocated_(0), in Heap() 656 num_bytes_allocated_.store(0, std::memory_order_relaxed); in Heap() 1660 if (UNLIKELY(num_bytes_allocated_.load(std::memory_order_relaxed) < 10 * KB)) { in VerifyObjectBody() 1693 static_cast<int64_t>(num_bytes_allocated_.load(std::memory_order_relaxed))); in RecordFree() 1695 num_bytes_allocated_.fetch_sub(static_cast<ssize_t>(freed_bytes), std::memory_order_relaxed); in RecordFree() 1715 CHECK_GE(num_bytes_allocated_.fetch_sub(bytes_freed, std::memory_order_relaxed), in RecordFreeRevoke() 3831 CHECK_GE(num_bytes_allocated_.load(std::memory_order_relaxed), in IncrementNumberOfBytesFreedRevoke()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 2717 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 2722 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 3380 heap_->num_bytes_allocated_.fetch_sub(bytes_allocated, std::memory_order_relaxed); in Copy() 3436 heap_->num_bytes_allocated_.fetch_add(bytes_allocated, std::memory_order_relaxed); in Copy()
|