Searched refs:bytes_allocated_ (Results 1 – 10 of 10) 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() 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()
|
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 | 182 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_;
|
D | arena_allocator.cc | 214 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/ |
D | bump_pointer_space-inl.h | 60 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()
|
D | bump_pointer_space.cc | 52 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()
|
D | bump_pointer_space.h | 162 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/ |
D | mem_map_arena_pool.cc | 86 if (bytes_allocated_ > 0) { in Release() 88 bytes_allocated_ = 0; in Release() 152 MEMORY_TOOL_MAKE_UNDEFINED(arena->memory_, arena->bytes_allocated_); in FreeArenaChain()
|
D | gc_visited_arena_pool.cc | 42 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()
|
D | gc_visited_arena_pool.h | 271 size_t bytes_allocated_ GUARDED_BY(lock_);
|