Home | History | Annotate | Download | only in gc

Lines Matching refs:alloc_size

1574                                              size_t alloc_size,
1596 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1611 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1632 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1641 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1650 VLOG(gc) << "Forcing collection of SoftReferences for " << PrettySize(alloc_size)
1660 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size,
1681 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1718 if (!IsOutOfMemoryOnAllocation(allocator, alloc_size, /*grow*/ false)) {
1735 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1748 ThrowOutOfMemoryError(self, alloc_size, allocator);
2233 size_t alloc_size = RoundUp(obj_size, kObjectAlignment);
2236 auto it = bins_.lower_bound(alloc_size);
2241 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy);
2256 DCHECK_GE(size, alloc_size);
2258 AddBin(size - alloc_size, pos + alloc_size);
2260 // Copy the object over to its new location. Don't use alloc_size to avoid valgrind error.
4021 size_t alloc_size,
4027 if (kUsePartialTlabs && alloc_size <= self->TlabRemainingCapacity()) {
4028 DCHECK_GT(alloc_size, self->TlabSize());
4031 const size_t min_expand_size = alloc_size - self->TlabSize();
4040 DCHECK_LE(alloc_size, self->TlabSize());
4043 const size_t new_tlab_size = alloc_size + kDefaultTLABSize;
4056 if (space::RegionSpace::kRegionSize >= alloc_size) {
4062 ? std::max(alloc_size, kPartialTlabSize)
4067 return region_space_->AllocNonvirtual<false>(alloc_size,
4076 if (!IsOutOfMemoryOnAllocation(allocator_type, alloc_size, grow)) {
4077 return region_space_->AllocNonvirtual<false>(alloc_size,
4087 if (LIKELY(!IsOutOfMemoryOnAllocation(allocator_type, alloc_size, grow))) {
4088 return region_space_->AllocNonvirtual<false>(alloc_size,
4097 mirror::Object* ret = self->AllocTlab(alloc_size);
4099 *bytes_allocated = alloc_size;
4100 *usable_size = alloc_size;
4108 void Heap::VlogHeapGrowth(size_t max_allowed_footprint, size_t new_footprint, size_t alloc_size) {
4110 << PrettySize(new_footprint) << " for a " << PrettySize(alloc_size) << " allocation";