Searched refs:num_bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance
/art/runtime/gc/space/ |
D | large_object_space.cc | 115 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() 471 DCHECK_LE(allocation_size, num_bytes_allocated_); in Free() 472 num_bytes_allocated_ -= allocation_size; in Free() 536 num_bytes_allocated_ += allocation_size; in Alloc()
|
D | large_object_space.h | 55 return num_bytes_allocated_; in GetBytesAllocated() 131 uint64_t num_bytes_allocated_ GUARDED_BY(lock_);
|
/art/runtime/gc/ |
D | heap-inl.h | 161 num_bytes_allocated_.fetch_add(bytes_tl_bulk_allocated, std::memory_order_relaxed); in AllocObjectWithAllocator() 401 size_t old_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in IsOutOfMemoryOnAllocation()
|
D | heap.h | 535 return num_bytes_allocated_.load(std::memory_order_relaxed); in GetBytesAllocated() 595 num_bytes_allocated_.load(std::memory_order_relaxed)); in GetFreeMemory() 1341 Atomic<size_t> num_bytes_allocated_; variable
|
D | heap.cc | 247 num_bytes_allocated_(0), in Heap() 617 num_bytes_allocated_.store(0, std::memory_order_relaxed); in Heap() 1640 if (UNLIKELY(num_bytes_allocated_.load(std::memory_order_relaxed) < 10 * KB)) { in VerifyObjectBody() 1673 static_cast<int64_t>(num_bytes_allocated_.load(std::memory_order_relaxed))); in RecordFree() 1675 num_bytes_allocated_.fetch_sub(static_cast<ssize_t>(freed_bytes), std::memory_order_relaxed); in RecordFree() 1695 CHECK_GE(num_bytes_allocated_.fetch_sub(bytes_freed, std::memory_order_relaxed), in RecordFreeRevoke() 2124 uint32_t before_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in TransitionCollector() 2263 int32_t after_allocated = num_bytes_allocated_.load(std::memory_order_relaxed); in TransitionCollector() 3941 CHECK_GE(num_bytes_allocated_.load(std::memory_order_relaxed), in IncrementNumberOfBytesFreedRevoke()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 2680 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 2685 << heap_->num_bytes_allocated_.load(); in ReclaimPhase() 3354 heap_->num_bytes_allocated_.fetch_sub(bytes_allocated, std::memory_order_relaxed); in Copy() 3410 heap_->num_bytes_allocated_.fetch_add(bytes_allocated, std::memory_order_relaxed); in Copy()
|