Lines Matching refs:lots_of_objects
371 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()
402 space->FreeList(self, arraysize(lots_of_objects), lots_of_objects); in AllocAndFreeListTestBody()
431 std::unique_ptr<mirror::Object*[]> lots_of_objects(new mirror::Object*[max_objects]); in SizeFootPrintGrowthLimitAndTrimBody()
466 lots_of_objects[i] = object.Get(); in SizeFootPrintGrowthLimitAndTrimBody()
520 mirror::Object* object = lots_of_objects.get()[i]; in SizeFootPrintGrowthLimitAndTrimBody()
531 lots_of_objects.get()[i] = nullptr; in SizeFootPrintGrowthLimitAndTrimBody()