• Home
  • Raw
  • Download

Lines Matching refs:los

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