Home
last modified time | relevance | path

Searched refs:lots_of_objects (Results 1 – 1 of 1) sorted by relevance

/art/runtime/gc/space/
Dspace_test.h371 mirror::Object* lots_of_objects[1024]; in AllocAndFreeListTestBody() local
372 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody()
375 lots_of_objects[i] = Alloc(space, self, size_of_zero_length_byte_array, &allocation_size, in AllocAndFreeListTestBody()
377 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody()
379 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody()
386 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody()
389 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in AllocAndFreeListTestBody()
391 lots_of_objects[i] = AllocWithGrowth(space, self, 1024, &allocation_size, &usable_size, in AllocAndFreeListTestBody()
393 EXPECT_TRUE(lots_of_objects[i] != nullptr); in AllocAndFreeListTestBody()
395 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in AllocAndFreeListTestBody()
[all …]