Searched refs:allocation_size (Results 1 - 7 of 7) sorted by relevance

/art/runtime/gc/space/
H A Dlarge_object_space.cc123 size_t allocation_size = mem_map->Size(); local
126 byte* obj_end = reinterpret_cast<byte*>(obj) + allocation_size;
130 *bytes_allocated = allocation_size;
132 *usable_size = allocation_size;
134 num_bytes_allocated_ += allocation_size;
135 total_bytes_allocated_ += allocation_size;
149 size_t allocation_size = found->second->Size(); local
150 num_bytes_allocated_ -= allocation_size;
154 return allocation_size;
346 const size_t allocation_size local
412 const size_t allocation_size = RoundUp(num_bytes, kAlignment); local
[all...]
H A Ddlmalloc_space-inl.h61 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size); local
63 *bytes_allocated = allocation_size;
H A Dlarge_object_space_test.cc51 size_t allocation_size = 0; local
52 mirror::Object* obj = los->Alloc(Thread::Current(), request_size, &allocation_size,
55 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr));
56 ASSERT_GE(allocation_size, request_size);
H A Dspace_test.h348 size_t allocation_size, usable_size; local
350 lots_of_objects[i] = Alloc(space, self, size_of_zero_length_byte_array, &allocation_size,
354 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
363 size_t allocation_size, usable_size; local
364 lots_of_objects[i] = AllocWithGrowth(space, self, 1024, &allocation_size, &usable_size);
367 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
434 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); local
435 EXPECT_EQ(bytes_allocated, allocation_size);
437 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
439 EXPECT_GE(allocation_size,
489 size_t allocation_size = space->AllocationSize(object, nullptr); local
[all...]
/art/compiler/utils/
H A Dscoped_arena_allocator.cc58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); local
60 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size);
62 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) {
66 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size);
H A Darena_allocator.cc254 void ArenaAllocator::ObtainNewArenaForAllocation(size_t allocation_size) { argument
256 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size));
H A Darena_allocator.h191 void ObtainNewArenaForAllocation(size_t allocation_size);

Completed in 283 milliseconds