Searched refs:bytes_allocated_ (Results 1 – 8 of 8) sorted by relevance
/art/libartbase/base/ |
D | scoped_arena_allocator.cc | 86 if (top_arena_->bytes_allocated_ < allocated) { in UpdateBytesAllocated() 87 top_arena_->bytes_allocated_ = allocated; in UpdateBytesAllocated() 113 sum += arena->bytes_allocated_; in ApproximatePeakBytes() 176 DCHECK_GE(mark_arena_->bytes_allocated_, mark_arena_->size_ - mark_free); in ApproximatePeakBytes() 177 subtract = mark_arena_->bytes_allocated_ - (mark_arena_->size_ - mark_free); in ApproximatePeakBytes() 189 sum += arena->bytes_allocated_; in ApproximatePeakBytes()
|
D | malloc_arena_pool.cc | 79 if (bytes_allocated_ > 0) { in Reset() 80 memset(Begin(), 0, bytes_allocated_); in Reset() 81 bytes_allocated_ = 0; in Reset() 137 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
|
D | arena_allocator.h | 198 return Size() - bytes_allocated_; in RemainingSpace() 202 return bytes_allocated_; in GetBytesAllocated() 207 return memory_ <= ptr && ptr < memory_ + bytes_allocated_; in Contains() 211 size_t bytes_allocated_;
|
D | arena_allocator.cc | 188 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { in Arena() 218 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated() 279 new_arena->bytes_allocated_ = bytes; // UpdateBytesAllocated() on the new_arena. in AllocFromNewArena()
|
/art/runtime/gc/space/ |
D | bump_pointer_space-inl.h | 59 bytes_allocated_.store(bytes_allocated_.load(std::memory_order_relaxed) + num_bytes, in AllocThreadUnsafe() 87 bytes_allocated_.fetch_add(num_bytes, std::memory_order_relaxed); in AllocNonvirtual()
|
D | bump_pointer_space.cc | 55 objects_allocated_(0), bytes_allocated_(0), in BumpPointerSpace() 69 objects_allocated_(0), bytes_allocated_(0), in BumpPointerSpace() 85 bytes_allocated_.store(0, std::memory_order_relaxed); in Clear() 172 uint64_t total = static_cast<uint64_t>(bytes_allocated_.load(std::memory_order_relaxed)); in GetBytesAllocated() 208 bytes_allocated_.fetch_add(thread->GetThreadLocalBytesAllocated(), std::memory_order_relaxed); in RevokeThreadLocalBuffersLocked()
|
D | bump_pointer_space.h | 161 bytes_allocated_.fetch_sub(bytes, std::memory_order_relaxed); in RecordFree() 184 AtomicInteger bytes_allocated_; // Accumulated from revoked thread local regions. variable
|
/art/runtime/base/ |
D | mem_map_arena_pool.cc | 74 if (bytes_allocated_ > 0) { in Release() 76 bytes_allocated_ = 0; in Release() 140 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
|