Lines Matching refs:los
40 LargeObjectSpace* los = nullptr;
43 los = space::LargeObjectMapSpace::Create("large object space");
45 los = space::FreeListSpace::Create("large object space", capacity);
49 CHECK_LT(static_cast<uintptr_t>(los->GetLiveBitmap()->HeapBegin()),
50 static_cast<uintptr_t>(los->GetLiveBitmap()->HeapLimit()));
51 CHECK_LE(static_cast<uintptr_t>(los->GetLiveBitmap()->HeapBegin() + capacity),
52 static_cast<uintptr_t>(los->GetLiveBitmap()->HeapLimit()));
63 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr,
66 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr));
86 ASSERT_FALSE(los->IsZygoteLargeObject(self, obj));
88 los->SetAllLargeObjectsAsZygoteObjects(self);
91 ASSERT_TRUE(los->IsZygoteLargeObject(self, obj));
105 ASSERT_GE(los->Free(Thread::Current(), obj), request_size);
110 los->Dump(oss);
115 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr,
118 los->Free(Thread::Current(), obj);
120 EXPECT_EQ(0U, los->GetBytesAllocated());
121 EXPECT_EQ(0U, los->GetObjectsAllocated());
122 delete los;
128 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) :
129 id_(id), iterations_(iterations), size_(size), los_(los) {}
156 LargeObjectSpace* los = nullptr;
158 los = space::LargeObjectMapSpace::Create("large object space");
160 los = space::FreeListSpace::Create("large object space", 128 * MB);
166 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los));
173 delete los;