Home
last modified time | relevance | path

Searched refs:bytes_allocated_ (Results 1 – 10 of 10) 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()
178 DCHECK_GE(mark_arena_->bytes_allocated_, mark_arena_->size_ - mark_free); in ApproximatePeakBytes()
179 subtract = mark_arena_->bytes_allocated_ - (mark_arena_->size_ - mark_free); in ApproximatePeakBytes()
191 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.h182 Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) {} in Arena()
200 return Size() - bytes_allocated_; in RemainingSpace()
204 return bytes_allocated_; in GetBytesAllocated()
213 size_t bytes_allocated_;
Darena_allocator.cc214 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated()
282 new_arena->bytes_allocated_ = bytes; // UpdateBytesAllocated() on the new_arena. in AllocFromNewArena()
/art/runtime/gc/space/
Dbump_pointer_space-inl.h60 bytes_allocated_.store(bytes_allocated_.load(std::memory_order_relaxed) + num_bytes, in AllocThreadUnsafe()
88 bytes_allocated_.fetch_add(num_bytes, std::memory_order_relaxed); in AllocNonvirtual()
Dbump_pointer_space.cc52 bytes_allocated_(0), in BumpPointerSpace()
68 bytes_allocated_(0), in BumpPointerSpace()
87 bytes_allocated_.store(0, std::memory_order_relaxed); in Clear()
184 uint64_t total = static_cast<uint64_t>(bytes_allocated_.load(std::memory_order_relaxed)); in GetBytesAllocated()
220 bytes_allocated_.fetch_add(thread->GetThreadLocalBytesAllocated(), std::memory_order_relaxed); in RevokeThreadLocalBuffersLocked()
Dbump_pointer_space.h162 bytes_allocated_.fetch_sub(bytes, std::memory_order_relaxed); in RecordFree()
185 AtomicInteger bytes_allocated_; // Accumulated from revoked thread local regions. variable
/art/runtime/base/
Dmem_map_arena_pool.cc86 if (bytes_allocated_ > 0) { in Release()
88 bytes_allocated_ = 0; in Release()
152 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
Dgc_visited_arena_pool.cc42 bytes_allocated_ = size; in TrackedArena()
69 if (bytes_allocated_ > 0) { in Release()
74 bytes_allocated_ = 0; in Release()
134 bytes_allocated_(0), in GcVisitedArenaPool()
151 return bytes_allocated_; in GetBytesAllocated()
364 bytes_allocated_ += temp->GetBytesAllocated(); in FreeArenaChain()
Dgc_visited_arena_pool.h271 size_t bytes_allocated_ GUARDED_BY(lock_);