Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace_create_test.cc310 mirror::Object* lots_of_objects[1024]; in TEST_P() local
311 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in TEST_P()
314 lots_of_objects[i] = Alloc(space, in TEST_P()
320 EXPECT_TRUE(lots_of_objects[i] != nullptr); in TEST_P()
322 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in TEST_P()
329 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in TEST_P()
332 for (size_t i = 0; i < arraysize(lots_of_objects); i++) { in TEST_P()
334 lots_of_objects[i] = AllocWithGrowth(space, in TEST_P()
340 EXPECT_TRUE(lots_of_objects[i] != nullptr); in TEST_P()
342 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size)); in TEST_P()
[all …]
Dspace_test.h170 std::unique_ptr<mirror::Object*[]> lots_of_objects(new mirror::Object*[max_objects]); in SizeFootPrintGrowthLimitAndTrimBody()
205 lots_of_objects[i] = object.Get(); in SizeFootPrintGrowthLimitAndTrimBody()
259 mirror::Object* object = lots_of_objects.get()[i]; in SizeFootPrintGrowthLimitAndTrimBody()
270 lots_of_objects.get()[i] = nullptr; in SizeFootPrintGrowthLimitAndTrimBody()