Searched refs:lots_of_objects (Results 1 – 1 of 1) sorted by relevance
/art/runtime/gc/space/ |
D | space_test.h | 346 mirror::Object* lots_of_objects[1024]; in AllocAndFreeListTestBody() local 347 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody() 350 lots_of_objects[i] = Alloc(space, self, size_of_zero_length_byte_array, &allocation_size, in AllocAndFreeListTestBody() 352 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody() 354 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody() 359 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody() 362 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody() 364 lots_of_objects[i] = AllocWithGrowth(space, self, 1024, &allocation_size, &usable_size); in AllocAndFreeListTestBody() 365 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody() 367 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody() [all …]
|