Lines Matching refs:los

39     LargeObjectSpace* los = nullptr;  in LargeObjectTest()  local
41 los = space::LargeObjectMapSpace::Create("large object space"); in LargeObjectTest()
43 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in LargeObjectTest()
55 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr, in LargeObjectTest()
58 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr)); in LargeObjectTest()
78 ASSERT_FALSE(los->IsZygoteLargeObject(self, obj)); in LargeObjectTest()
80 los->SetAllLargeObjectsAsZygoteObjects(self); in LargeObjectTest()
83 ASSERT_TRUE(los->IsZygoteLargeObject(self, obj)); in LargeObjectTest()
97 ASSERT_GE(los->Free(Thread::Current(), obj), request_size); in LargeObjectTest()
101 los->Dump(LOG(INFO)); in LargeObjectTest()
105 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, in LargeObjectTest()
108 los->Free(Thread::Current(), obj); in LargeObjectTest()
110 EXPECT_EQ(0U, los->GetBytesAllocated()); in LargeObjectTest()
111 EXPECT_EQ(0U, los->GetObjectsAllocated()); in LargeObjectTest()
112 delete los; in LargeObjectTest()
118 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : in AllocRaceTask() argument
119 id_(id), iterations_(iterations), size_(size), los_(los) {} in AllocRaceTask()
146 LargeObjectSpace* los = nullptr; in RaceTest() local
148 los = space::LargeObjectMapSpace::Create("large object space"); in RaceTest()
150 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in RaceTest()
156 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
163 delete los; in RaceTest()