Searched refs:allocation_size (Results 1 - 7 of 7) sorted by relevance
/art/runtime/gc/space/ |
H A D | large_object_space.cc | 123 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 D | dlmalloc_space-inl.h | 61 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size); local 63 *bytes_allocated = allocation_size;
|
H A D | large_object_space_test.cc | 51 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 D | space_test.h | 348 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 D | scoped_arena_allocator.cc | 58 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 D | arena_allocator.cc | 254 void ArenaAllocator::ObtainNewArenaForAllocation(size_t allocation_size) { argument 256 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size));
|
H A D | arena_allocator.h | 191 void ObtainNewArenaForAllocation(size_t allocation_size);
|
Completed in 283 milliseconds