Searched defs:alloc_size (Results 1 - 6 of 6) sorted by relevance

/art/runtime/gc/
H A Dheap-inl.h184 size_t alloc_size, size_t* bytes_allocated,
187 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) {
194 alloc_size = RoundUp(alloc_size, space::BumpPointerSpace::kAlignment);
195 ret = bump_pointer_space_->AllocNonvirtual(alloc_size);
197 *bytes_allocated = alloc_size;
198 *usable_size = alloc_size;
205 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size);
208 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size);
215 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocate
183 TryToAllocate(Thread* self, AllocatorType allocator_type, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size) argument
291 IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) argument
[all...]
H A Dheap.cc1229 size_t alloc_size, size_t* bytes_allocated,
1249 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1263 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1283 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated,
1292 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1301 VLOG(gc) << "Forcing collection of SoftReferences for " << PrettySize(alloc_size)
1310 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size);
1325 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated,
1357 if (!IsOutOfMemoryOnAllocation<false>(allocator, alloc_size)) {
1369 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocate
1228 AllocateInternalWithGc(Thread* self, AllocatorType allocator, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size, mirror::Class** klass) argument
[all...]
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc105 size_t alloc_size; local
106 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr);
H A Dspace_test.h411 size_t alloc_size; local
413 alloc_size = object_size;
415 alloc_size = test_rand(&rand_seed) % static_cast<size_t>(-object_size);
418 if (alloc_size < size_of_zero_length_byte_array) {
419 alloc_size = size_of_zero_length_byte_array;
426 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr));
428 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr));
H A Dlarge_object_space.cc320 size_t alloc_size = cur_info->ByteSize(); local
322 byte* byte_end = byte_start + alloc_size;
323 callback(byte_start, byte_end, alloc_size, arg);
402 size_t alloc_size = info->ByteSize(); local
404 *usable_size = alloc_size;
406 return alloc_size;
/art/runtime/gc/collector/
H A Dmark_compact.cc91 const size_t alloc_size = RoundUp(obj->SizeOf(), space::BumpPointerSpace::kAlignment); local
101 bump_pointer_ += alloc_size;

Completed in 210 milliseconds