Searched defs:alloc_size (Results 1 - 6 of 6) sorted by relevance
/art/runtime/gc/ |
H A D | heap-inl.h | 196 size_t alloc_size, size_t* bytes_allocated, 199 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 206 alloc_size = RoundUp(alloc_size, space::BumpPointerSpace::kAlignment); 207 ret = bump_pointer_space_->AllocNonvirtual(alloc_size); 209 *bytes_allocated = alloc_size; 210 *usable_size = alloc_size; 217 ret = rosalloc_space_->Alloc(self, alloc_size, bytes_allocated, usable_size); 220 ret = rosalloc_space_->AllocNonvirtual(self, alloc_size, bytes_allocated, usable_size); 227 ret = dlmalloc_space_->Alloc(self, alloc_size, bytes_allocate 195 TryToAllocate(Thread* self, AllocatorType allocator_type, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size) argument 303 IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) argument [all...] |
H A D | heap.cc | 1281 size_t alloc_size, size_t* bytes_allocated, 1301 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1315 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1335 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1344 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, 1353 VLOG(gc) << "Forcing collection of SoftReferences for " << PrettySize(alloc_size) 1362 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size); 1377 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, 1409 if (!IsOutOfMemoryOnAllocation<false>(allocator, alloc_size)) { 1421 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocate 1280 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 D | large_object_space_test.cc | 105 size_t alloc_size; local 106 mirror::Object* ptr = los_->Alloc(self, size_, &alloc_size, nullptr);
|
H A D | space_test.h | 411 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 D | large_object_space.cc | 320 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 D | mark_compact.cc | 91 const size_t alloc_size = RoundUp(obj->SizeOf(), space::BumpPointerSpace::kAlignment); local 101 bump_pointer_ += alloc_size;
|
Completed in 142 milliseconds