Home
last modified time | relevance | path

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

/art/runtime/base/
Darena_allocator.cc160 Arena::Arena() : bytes_allocated_(0), next_(nullptr) { in Arena()
187 if (bytes_allocated_ > 0) { in Release()
189 bytes_allocated_ = 0; in Release()
194 if (bytes_allocated_ > 0) { in Reset()
195 memset(Begin(), 0, bytes_allocated_); in Reset()
196 bytes_allocated_ = 0; in Reset()
272 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
314 arena_head_->bytes_allocated_ = ptr_ - begin_; in UpdateBytesAllocated()
364 new_arena->bytes_allocated_ = bytes; // UpdateBytesAllocated() on the new_arena. in AllocFromNewArena()
Darena_allocator.h214 return Size() - bytes_allocated_; in RemainingSpace()
218 return bytes_allocated_; in GetBytesAllocated()
223 return memory_ <= ptr && ptr < memory_ + bytes_allocated_; in Contains()
227 size_t bytes_allocated_;
Dscoped_arena_allocator.cc87 if (top_arena_->bytes_allocated_ < allocated) { in UpdateBytesAllocated()
88 top_arena_->bytes_allocated_ = allocated; in UpdateBytesAllocated()
/art/runtime/gc/space/
Dbump_pointer_space-inl.h57 bytes_allocated_.StoreRelaxed(bytes_allocated_.LoadRelaxed() + num_bytes); in AllocThreadUnsafe()
84 bytes_allocated_.FetchAndAddSequentiallyConsistent(num_bytes); in AllocNonvirtual()
Dbump_pointer_space.cc50 objects_allocated_(0), bytes_allocated_(0), in BumpPointerSpace()
60 objects_allocated_(0), bytes_allocated_(0), in BumpPointerSpace()
76 bytes_allocated_.StoreRelaxed(0); in Clear()
215 uint64_t total = static_cast<uint64_t>(bytes_allocated_.LoadRelaxed()); in GetBytesAllocated()
251 bytes_allocated_.FetchAndAddSequentiallyConsistent(thread->GetThreadLocalBytesAllocated()); in RevokeThreadLocalBuffersLocked()
Dbump_pointer_space.h153 bytes_allocated_.FetchAndSubSequentiallyConsistent(bytes); in RecordFree()
176 AtomicInteger bytes_allocated_; // Accumulated from revoked thread local regions. variable