Lines Matching refs:alloc_size
1687 size_t alloc_size,
1710 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1725 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1746 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1755 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1764 VLOG(gc) << "Forcing collection of SoftReferences for " << PrettySize(alloc_size)
1774 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size,
1795 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1828 if (!IsOutOfMemoryOnAllocation<false>(allocator, alloc_size)) {
1845 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1858 ThrowOutOfMemoryError(self, alloc_size, allocator);
2371 size_t alloc_size = RoundUp(obj_size, kObjectAlignment);
2374 auto it = bins_.lower_bound(alloc_size);
2379 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy);
2394 DCHECK_GE(size, alloc_size);
2396 AddBin(size - alloc_size, pos + alloc_size);
2398 // Copy the object over to its new location. Don't use alloc_size to avoid valgrind error.