Home
last modified time | relevance | path

Searched refs:GetBytesAllocated (Results 1 – 25 of 28) sorted by relevance

12

/art/libartbase/base/
Dmalloc_arena_pool.h32 size_t GetBytesAllocated() const override;
Dmalloc_arena_pool.cc125 size_t MallocArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::MallocArenaPool
129 total += arena->GetBytesAllocated(); in GetBytesAllocated()
Darena_allocator.cc196 total += cur_arena->GetBytesAllocated(); in BytesUsed()
309 DCHECK_EQ(bytes, arena_head_->next_->GetBytesAllocated()); in AllocFromNewArenaWithMemoryTool()
Darena_allocator.h203 size_t GetBytesAllocated() const { in GetBytesAllocated() function
236 virtual size_t GetBytesAllocated() const = 0;
/art/runtime/base/
Dmem_map_arena_pool.h30 size_t GetBytesAllocated() const override;
Dmem_map_arena_pool.cc140 size_t MemMapArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::MemMapArenaPool
144 total += arena->GetBytesAllocated(); in GetBytesAllocated()
Dgc_visited_arena_pool.cc149 size_t GcVisitedArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::GcVisitedArenaPool
342 MEMORY_TOOL_MAKE_UNDEFINED(arena->Begin(), arena->GetBytesAllocated()); in FreeArenaChain()
364 bytes_allocated_ += temp->GetBytesAllocated(); in FreeArenaChain()
Dgc_visited_arena_pool.h74 uint8_t* last_byte = AlignUp(Begin() + GetBytesAllocated(), gPageSize); in GetLastUsedByte()
158 size_t GetBytesAllocated() const override REQUIRES(!lock_);
/art/runtime/gc/space/
Dzygote_space.h68 uint64_t GetBytesAllocated() override { in GetBytesAllocated() function
Ddlmalloc_space.h139 uint64_t GetBytesAllocated() override;
Dmalloc_space.h132 uint64_t GetBytesAllocated() override = 0;
Dlarge_object_space_test.cc120 EXPECT_EQ(0U, los->GetBytesAllocated()); in LargeObjectTest()
Dbump_pointer_space.h125 uint64_t GetBytesAllocated() override REQUIRES_SHARED(Locks::mutator_lock_)
Drosalloc_space.h130 uint64_t GetBytesAllocated() override;
Dlarge_object_space.h53 uint64_t GetBytesAllocated() override { in GetBytesAllocated() function
Dspace.h197 virtual uint64_t GetBytesAllocated() = 0;
Dbump_pointer_space.cc182 uint64_t BumpPointerSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::BumpPointerSpace
Ddlmalloc_space.cc373 uint64_t DlMallocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::DlMallocSpace
Drosalloc_space.cc358 uint64_t RosAllocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::RosAllocSpace
Dregion_space.h171 uint64_t GetBytesAllocated() override REQUIRES(!region_lock_) { in GetBytesAllocated() function
Dregion_space.cc1038 heap->TraceHeapSize(heap->GetBytesAllocated() + EvacBytes()); in TraceHeapSize()
/art/runtime/gc/
Dheap.cc1246 uint64_t bytes_allocated = GetBytesAllocated(); in CalculateGcWeightedAllocatedBytes()
1564 UnsignedDifference(GetBytesAllocated(), num_bytes_alive_after_gc_); in DoPendingCollectorTransition()
1719 total_alloc_space_allocated = GetBytesAllocated(); in TrimSpaces()
1721 total_alloc_space_allocated -= large_object_space_->GetBytesAllocated(); in TrimSpaces()
1727 total_alloc_space_allocated -= region_space_->GetBytesAllocated(); in TrimSpaces()
2003 size_t curr_bytes_allocated = GetBytesAllocated(); in AllocateInternalWithGc()
2152 uint64_t current_bytes = GetBytesFreedEver(std::memory_order_acquire) + GetBytesAllocated(); in GetBytesAllocatedEver()
2823 const size_t bytes_allocated_before_gc = GetBytesAllocated(); in CollectGarbageInternal()
2939 const size_t current_heap_size = GetBytesAllocated(); in LogGC()
3699 os << "Heap: " << GetPercentFree() << "% free, " << PrettySize(GetBytesAllocated()) << "/" in DumpForSigQuit()
[all …]
Dheap.h563 size_t GetBytesAllocated() const { in GetBytesAllocated() function
605 return std::max(GetBytesAllocated(), growth_limit_); in GetMaxMemory()
615 GetBytesAllocated()); in GetFreeMemoryUntilGC()
620 return UnsignedDifference(growth_limit_, GetBytesAllocated()); in GetFreeMemoryUntilOOME()
/art/runtime/gc/collector/
Dsemi_space.cc208 const int64_t from_bytes = from_space_->GetBytesAllocated(); in MarkingPhase()
/art/runtime/
Ddebugger.cc435 Append4BE(bytes, heap->GetBytesAllocated()); in DdmSendHeapInfo()

12