Lines Matching refs:bytes_allocated
1112 uint64_t bytes_allocated = GetBytesAllocated(); in CalculateGcWeightedAllocatedBytes() local
1114 return weight * bytes_allocated; in CalculateGcWeightedAllocatedBytes()
1736 size_t* bytes_allocated, in AllocateInternalWithGc() argument
1777 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1793 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1814 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1823 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1842 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size, in AllocateInternalWithGc()
1864 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
2250 size_t bytes_allocated, dummy; in MarkNonForwardedObject() local
2251 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
3518 const size_t bytes_allocated = GetBytesAllocated(); in GrowForUtilization() local
3520 TraceHeapSize(bytes_allocated); in GrowForUtilization()
3528 uint64_t delta = bytes_allocated * (1.0 / GetTargetHeapUtilization() - 1.0); in GrowForUtilization()
3529 DCHECK_LE(delta, std::numeric_limits<size_t>::max()) << "bytes_allocated=" << bytes_allocated in GrowForUtilization()
3533 target_size = bytes_allocated + static_cast<uint64_t>(grow_bytes * multiplier); in GrowForUtilization()
3557 bytes_allocated <= (IsGcConcurrent() ? concurrent_start_bytes_ : target_footprint)) { in GrowForUtilization()
3564 if (bytes_allocated + adjusted_max_free < target_footprint) { in GrowForUtilization()
3565 target_size = bytes_allocated + adjusted_max_free; in GrowForUtilization()
3568 target_size = std::max(bytes_allocated, target_footprint); in GrowForUtilization()
3582 ? bytes_allocated + static_cast<size_t>(grow_bytes * foreground_heap_growth_multiplier_) in GrowForUtilization()
3591 CHECK_GE(bytes_allocated + freed_bytes, bytes_allocated_before_gc); in GrowForUtilization()
3592 const size_t bytes_allocated_during_gc = bytes_allocated + freed_bytes - in GrowForUtilization()
3610 concurrent_start_bytes_ = std::max(target_footprint - remaining_bytes, bytes_allocated); in GrowForUtilization()
4172 size_t* bytes_allocated, in AllocWithNewTLAB() argument
4217 bytes_allocated, in AllocWithNewTLAB()
4226 bytes_allocated, in AllocWithNewTLAB()
4237 bytes_allocated, in AllocWithNewTLAB()
4247 *bytes_allocated = alloc_size; in AllocWithNewTLAB()