Lines Matching refs:alloc_size

1743                                              size_t alloc_size,  in AllocateInternalWithGc()  argument
1764 l->PreObjectAllocated(self, h_klass, &alloc_size); in AllocateInternalWithGc()
1788 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1818 alloc_size, bytes_allocated, in AllocateInternalWithGc()
1829 VLOG(gc) << "Forcing collection of SoftReferences for " << PrettySize(alloc_size) in AllocateInternalWithGc()
1841 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1865 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, in AllocateInternalWithGc()
1905 ThrowOutOfMemoryError(self, alloc_size, allocator); in AllocateInternalWithGc()
2244 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject() local
2247 auto it = bins_.lower_bound(alloc_size); in MarkNonForwardedObject()
2253 self_, alloc_size, &bytes_allocated, nullptr, &unused_bytes_tl_bulk_allocated); in MarkNonForwardedObject()
2268 DCHECK_GE(size, alloc_size); in MarkNonForwardedObject()
2270 AddBin(size - alloc_size, pos + alloc_size); in MarkNonForwardedObject()
4173 size_t alloc_size, in AllocWithNewTLAB() argument
4178 if (kUsePartialTlabs && alloc_size <= self->TlabRemainingCapacity()) { in AllocWithNewTLAB()
4179 DCHECK_GT(alloc_size, self->TlabSize()); in AllocWithNewTLAB()
4182 const size_t min_expand_size = alloc_size - self->TlabSize(); in AllocWithNewTLAB()
4191 DCHECK_LE(alloc_size, self->TlabSize()); in AllocWithNewTLAB()
4194 const size_t new_tlab_size = alloc_size + kDefaultTLABSize; in AllocWithNewTLAB()
4207 if (space::RegionSpace::kRegionSize >= alloc_size) { in AllocWithNewTLAB()
4213 ? std::max(alloc_size, kPartialTlabSize) in AllocWithNewTLAB()
4218 return region_space_->AllocNonvirtual<false>(alloc_size, in AllocWithNewTLAB()
4226 if (!IsOutOfMemoryOnAllocation(allocator_type, alloc_size, grow)) { in AllocWithNewTLAB()
4227 return region_space_->AllocNonvirtual<false>(alloc_size, in AllocWithNewTLAB()
4237 if (LIKELY(!IsOutOfMemoryOnAllocation(allocator_type, alloc_size, grow))) { in AllocWithNewTLAB()
4238 return region_space_->AllocNonvirtual<false>(alloc_size, in AllocWithNewTLAB()
4247 mirror::Object* ret = self->AllocTlab(alloc_size); in AllocWithNewTLAB()
4249 *bytes_allocated = alloc_size; in AllocWithNewTLAB()
4250 *usable_size = alloc_size; in AllocWithNewTLAB()
4258 void Heap::VlogHeapGrowth(size_t old_footprint, size_t new_footprint, size_t alloc_size) { in VlogHeapGrowth() argument
4260 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation"; in VlogHeapGrowth()