Lines Matching refs:obj
38 inline bool HeapBitmap::Test(const mirror::Object* obj) { in Test() argument
39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Test()
41 return bitmap->Test(obj); in Test()
44 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Test()
45 return lo_bitmap->Test(obj); in Test()
48 LOG(FATAL) << "Invalid object " << obj; in Test()
52 inline void HeapBitmap::Clear(const mirror::Object* obj) { in Clear() argument
53 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Clear()
55 bitmap->Clear(obj); in Clear()
59 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Clear()
60 lo_bitmap->Clear(obj); in Clear()
63 LOG(FATAL) << "Invalid object " << obj; in Clear()
67 inline bool HeapBitmap::Set(const mirror::Object* obj, const LargeObjectSetVisitor& visitor) { in Set() argument
68 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Set()
70 return bitmap->Set(obj); in Set()
72 visitor(obj); in Set()
74 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Set()
75 return lo_bitmap->Set(obj); in Set()
78 LOG(FATAL) << "Invalid object " << obj; in Set()
83 inline bool HeapBitmap::AtomicTestAndSet(const mirror::Object* obj, in AtomicTestAndSet() argument
85 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in AtomicTestAndSet()
87 return bitmap->AtomicTestAndSet(obj); in AtomicTestAndSet()
89 visitor(obj); in AtomicTestAndSet()
91 if (LIKELY(lo_bitmap->HasAddress(obj))) { in AtomicTestAndSet()
92 return lo_bitmap->AtomicTestAndSet(obj); in AtomicTestAndSet()
95 LOG(FATAL) << "Invalid object " << obj; in AtomicTestAndSet()
99 inline ContinuousSpaceBitmap* HeapBitmap::GetContinuousSpaceBitmap(const mirror::Object* obj) const… in GetContinuousSpaceBitmap() argument
101 if (bitmap->HasAddress(obj)) { in GetContinuousSpaceBitmap()
108 inline LargeObjectBitmap* HeapBitmap::GetLargeObjectBitmap(const mirror::Object* obj) const { in GetLargeObjectBitmap() argument
110 if (LIKELY(bitmap->HasAddress(obj))) { in GetLargeObjectBitmap()