Home
last modified time | relevance | path

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

/aosp12/art/libartbase/base/
H A Dmalloc_arena_pool.cc125 size_t MallocArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::MallocArenaPool
129 total += arena->GetBytesAllocated(); in GetBytesAllocated()
H A Dmalloc_arena_pool.h32 size_t GetBytesAllocated() const override;
H A Darena_allocator.cc201 total += cur_arena->GetBytesAllocated(); in BytesUsed()
307 DCHECK_EQ(bytes, arena_head_->next_->GetBytesAllocated()); in AllocFromNewArenaWithMemoryTool()
H A Darena_allocator.h202 size_t GetBytesAllocated() const { in GetBytesAllocated() function
235 virtual size_t GetBytesAllocated() const = 0;
/aosp12/art/runtime/base/
H A Dmem_map_arena_pool.cc128 size_t MemMapArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::MemMapArenaPool
132 total += arena->GetBytesAllocated(); in GetBytesAllocated()
H A Dmem_map_arena_pool.h30 size_t GetBytesAllocated() const override;
/aosp12/art/runtime/gc/space/
H A Dzygote_space.h68 uint64_t GetBytesAllocated() override { in GetBytesAllocated() function
H A Ddlmalloc_space.h139 uint64_t GetBytesAllocated() override;
H A Dmalloc_space.h132 uint64_t GetBytesAllocated() override = 0;
H A Dbump_pointer_space.h119 uint64_t GetBytesAllocated() override REQUIRES_SHARED(Locks::mutator_lock_)
H A Dlarge_object_space_test.cc120 EXPECT_EQ(0U, los->GetBytesAllocated()); in LargeObjectTest()
H A Drosalloc_space.h130 uint64_t GetBytesAllocated() override;
H A Dbump_pointer_space.cc170 uint64_t BumpPointerSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::BumpPointerSpace
H A Dlarge_object_space.h53 uint64_t GetBytesAllocated() override { in GetBytesAllocated() function
H A Dspace.h197 virtual uint64_t GetBytesAllocated() = 0;
H A Ddlmalloc_space.cc323 uint64_t DlMallocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::DlMallocSpace
H A Drosalloc_space.cc358 uint64_t RosAllocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::RosAllocSpace
H A Dregion_space.h171 uint64_t GetBytesAllocated() override REQUIRES(!region_lock_) { in GetBytesAllocated() function
H A Dregion_space.cc1034 heap->TraceHeapSize(heap->GetBytesAllocated() + EvacBytes()); in TraceHeapSize()
/aosp12/art/runtime/gc/
H A Dheap.cc1162 uint64_t bytes_allocated = GetBytesAllocated(); in CalculateGcWeightedAllocatedBytes()
1579 total_alloc_space_allocated = GetBytesAllocated(); in TrimSpaces()
1581 total_alloc_space_allocated -= large_object_space_->GetBytesAllocated(); in TrimSpaces()
1587 total_alloc_space_allocated -= region_space_->GetBytesAllocated(); in TrimSpaces()
1850 size_t curr_bytes_allocated = GetBytesAllocated(); in AllocateInternalWithGc()
2009 current_bytes += GetBytesAllocated(); in GetBytesAllocatedEver()
2639 const size_t bytes_allocated_before_gc = GetBytesAllocated(); in CollectGarbageInternal()
2737 const size_t current_heap_size = GetBytesAllocated(); in LogGC()
3549 const size_t bytes_allocated = GetBytesAllocated(); in GrowForUtilization()
3976 return static_cast<float>(GetBytesAllocated() + weighted_native_bytes) in NativeMemoryOverTarget()
[all …]
H A Dheap.h539 size_t GetBytesAllocated() const { in GetBytesAllocated() function
580 return std::max(GetBytesAllocated(), growth_limit_); in GetMaxMemory()
590 GetBytesAllocated()); in GetFreeMemoryUntilGC()
595 return UnsignedDifference(growth_limit_, GetBytesAllocated()); in GetFreeMemoryUntilOOME()
/aosp12/art/runtime/gc/collector/
H A Dsemi_space.cc207 const int64_t from_bytes = from_space_->GetBytesAllocated(); in MarkingPhase()
H A Dconcurrent_copying.cc393 num_bytes_allocated_before_gc_ = static_cast<int64_t>(heap_->GetBytesAllocated()); in InitializePhase()
567 cc->from_space_num_bytes_at_first_pause_ = cc->region_space_->GetBytesAllocated(); in Run()
/aosp12/art/runtime/
H A Ddebugger.cc440 Append4BE(bytes, heap->GetBytesAllocated()); in DdmSendHeapInfo()
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver.cc2663 const size_t arena_alloc = arena_pool->GetBytesAllocated(); in Compile()
2766 const size_t java_alloc = heap->GetBytesAllocated(); in GetMemoryUsageString()