Home
last modified time | relevance | path

Searched refs:bytes_allocated_ (Results 1 – 8 of 8) sorted by relevance

/art/libartbase/base/
Dscoped_arena_allocator.cc86 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()
Dmalloc_arena_pool.cc79 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()
Darena_allocator.h198 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_;
Darena_allocator.cc188 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/
Dbump_pointer_space-inl.h59 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()
Dbump_pointer_space.cc55 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()
Dbump_pointer_space.h161 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/
Dmem_map_arena_pool.cc74 if (bytes_allocated_ > 0) { in Release()
76 bytes_allocated_ = 0; in Release()
140 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()