Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dlarge_object_space_test.cc60 size_t request_size = test_rand(&rand_seed) % max_allocation_size; in LargeObjectTest() local
63 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr, in LargeObjectTest()
67 ASSERT_GE(allocation_size, request_size); in LargeObjectTest()
70 uint8_t magic = (request_size & 0xFF) | 1; in LargeObjectTest()
71 memset(obj, magic, request_size); in LargeObjectTest()
72 requests.push_back(std::make_pair(obj, request_size)); in LargeObjectTest()
99 size_t request_size = requests.back().second; in LargeObjectTest() local
101 uint8_t magic = (request_size & 0xFF) | 1; in LargeObjectTest()
102 for (size_t k = 0; k < request_size; ++k) { in LargeObjectTest()
105 ASSERT_GE(los->Free(Thread::Current(), obj), request_size); in LargeObjectTest()