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.cc50 size_t request_size = test_rand(&rand_seed) % max_allocation_size; in LargeObjectTest() local
52 mirror::Object* obj = los->Alloc(Thread::Current(), request_size, &allocation_size, in LargeObjectTest()
56 ASSERT_GE(allocation_size, request_size); in LargeObjectTest()
58 byte magic = (request_size & 0xFF) | 1; in LargeObjectTest()
59 memset(obj, magic, request_size); in LargeObjectTest()
60 requests.push_back(std::make_pair(obj, request_size)); in LargeObjectTest()
74 size_t request_size = requests.back().second; in LargeObjectTest() local
76 byte magic = (request_size & 0xFF) | 1; in LargeObjectTest()
77 for (size_t k = 0; k < request_size; ++k) { in LargeObjectTest()
80 ASSERT_GE(los->Free(Thread::Current(), obj), request_size); in LargeObjectTest()