Home
last modified time | relevance | path

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

/art/runtime/base/
Darena_allocator.cc260 size_t ArenaPool::GetBytesAllocated() const { in GetBytesAllocated() function in art::ArenaPool
264 total += arena->GetBytesAllocated(); in GetBytesAllocated()
296 total += cur_arena->GetBytesAllocated(); in BytesUsed()
336 DCHECK_EQ(rounded_bytes, arena_head_->next_->GetBytesAllocated()); in AllocWithMemoryTool()
Darena_allocator.h217 size_t GetBytesAllocated() const { in GetBytesAllocated() function
267 size_t GetBytesAllocated() const REQUIRES(!lock_);
/art/runtime/gc/space/
Dzygote_space.h65 uint64_t GetBytesAllocated() { in GetBytesAllocated() function
Ddlmalloc_space.h125 uint64_t GetBytesAllocated() OVERRIDE;
Dmalloc_space.h135 virtual uint64_t GetBytesAllocated() = 0;
Dbump_pointer_space.h113 uint64_t GetBytesAllocated() SHARED_REQUIRES(Locks::mutator_lock_)
Dlarge_object_space_test.cc110 EXPECT_EQ(0U, los->GetBytesAllocated()); in LargeObjectTest()
Dlarge_object_space.h51 uint64_t GetBytesAllocated() OVERRIDE { in GetBytesAllocated() function
Drosalloc_space.h118 uint64_t GetBytesAllocated() OVERRIDE;
Dbump_pointer_space.cc213 uint64_t BumpPointerSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::BumpPointerSpace
Dspace.h198 virtual uint64_t GetBytesAllocated() = 0;
Ddlmalloc_space.cc264 uint64_t DlMallocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::DlMallocSpace
Drosalloc_space.cc289 uint64_t RosAllocSpace::GetBytesAllocated() { in GetBytesAllocated() function in art::gc::space::RosAllocSpace
Dregion_space.h119 uint64_t GetBytesAllocated() REQUIRES(!region_lock_) { in GetBytesAllocated() function
/art/runtime/native/
Ddalvik_system_VMDebug.cc325 zygoteUsed += zygote_space->GetBytesAllocated(); in VMDebug_getHeapSpaceStats()
330 allocUsed += malloc_space->GetBytesAllocated(); in VMDebug_getHeapSpaceStats()
334 allocUsed += bump_pointer_space->GetBytesAllocated(); in VMDebug_getHeapSpaceStats()
339 largeObjectsSize += space->AsLargeObjectSpace()->GetBytesAllocated(); in VMDebug_getHeapSpaceStats()
/art/runtime/gc/collector/
Dsemi_space.cc258 const int64_t from_bytes = from_space_->GetBytesAllocated(); in MarkingPhase()
833 uint64_t current_los_bytes_allocated = los != nullptr ? los->GetBytesAllocated() : 0U; in FinishPhase()
846 los != nullptr ? los->GetBytesAllocated() : 0U; in FinishPhase()
Dconcurrent_copying.cc246 cc->from_space_num_bytes_at_first_pause_ = cc->region_space_->GetBytesAllocated(); in Run()
/art/runtime/gc/
Dheap.h467 size_t GetBytesAllocated() const { in GetBytesAllocated() function
498 return std::max(GetBytesAllocated(), growth_limit_); in GetMaxMemory()
507 return max_allowed_footprint_ - GetBytesAllocated(); in GetFreeMemoryUntilGC()
512 return growth_limit_ - GetBytesAllocated(); in GetFreeMemoryUntilOOME()
Dheap.cc1460 total_alloc_space_allocated = GetBytesAllocated(); in TrimSpaces()
1462 total_alloc_space_allocated -= large_object_space_->GetBytesAllocated(); in TrimSpaces()
1468 total_alloc_space_allocated -= region_space_->GetBytesAllocated(); in TrimSpaces()
1892 return GetBytesFreedEver() + GetBytesAllocated(); in GetBytesAllocatedEver()
2654 const uint64_t bytes_allocated_before_gc = GetBytesAllocated(); in CollectGarbageInternal()
2756 const size_t current_heap_size = GetBytesAllocated(); in LogGC()
3490 os << "Heap: " << GetPercentFree() << "% free, " << PrettySize(GetBytesAllocated()) << "/" in DumpForSigQuit()
3553 const uint64_t bytes_allocated = GetBytesAllocated(); in GrowForUtilization()
3938 return std::max(max_allowed_footprint_, GetBytesAllocated()); in GetTotalMemory()
/art/compiler/driver/
Dcompiler_driver.cc2576 const size_t arena_alloc = arena_pool->GetBytesAllocated(); in Compile()
2851 const size_t java_alloc = heap->GetBytesAllocated(); in GetMemoryUsageString()
/art/runtime/
Ddebugger.cc4460 JDWP::Append4BE(bytes, heap->GetBytesAllocated()); in DdmSendHeapInfo()