Searched refs:request_size (Results 1 – 1 of 1) sorted by relevance
/art/runtime/gc/space/ |
D | large_object_space_test.cc | 52 size_t request_size = test_rand(&rand_seed) % max_allocation_size; in LargeObjectTest() local 55 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr, in LargeObjectTest() 59 ASSERT_GE(allocation_size, request_size); in LargeObjectTest() 62 uint8_t magic = (request_size & 0xFF) | 1; in LargeObjectTest() 63 memset(obj, magic, request_size); in LargeObjectTest() 64 requests.push_back(std::make_pair(obj, request_size)); in LargeObjectTest() 91 size_t request_size = requests.back().second; in LargeObjectTest() local 93 uint8_t magic = (request_size & 0xFF) | 1; in LargeObjectTest() 94 for (size_t k = 0; k < request_size; ++k) { in LargeObjectTest() 97 ASSERT_GE(los->Free(Thread::Current(), obj), request_size); in LargeObjectTest()
|