Searched refs:bytes_allocated_ (Results 1 – 6 of 6) sorted by relevance
160 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()
214 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_;
87 if (top_arena_->bytes_allocated_ < allocated) { in UpdateBytesAllocated()88 top_arena_->bytes_allocated_ = allocated; in UpdateBytesAllocated()
57 bytes_allocated_.StoreRelaxed(bytes_allocated_.LoadRelaxed() + num_bytes); in AllocThreadUnsafe()84 bytes_allocated_.FetchAndAddSequentiallyConsistent(num_bytes); in AllocNonvirtual()
50 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()
153 bytes_allocated_.FetchAndSubSequentiallyConsistent(bytes); in RecordFree()176 AtomicInteger bytes_allocated_; // Accumulated from revoked thread local regions. variable