Lines Matching refs:obj
29 inline mirror::Object* SemiSpace::GetForwardingAddressInFromSpace(mirror::Object* obj) const { in GetForwardingAddressInFromSpace() argument
30 DCHECK(from_space_->HasAddress(obj)); in GetForwardingAddressInFromSpace()
31 LockWord lock_word = obj->GetLockWord(false); in GetForwardingAddressInFromSpace()
43 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject() local
44 if (obj == nullptr) { in MarkObject()
47 if (from_space_->HasAddress(obj)) { in MarkObject()
48 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj); in MarkObject()
51 forward_address = MarkNonForwardedObject(obj); in MarkObject()
55 obj->SetLockWord( in MarkObject()
61 } else if (!collect_from_space_only_ && !immune_spaces_.IsInImmuneRegion(obj)) { in MarkObject()
62 DCHECK(!to_space_->HasAddress(obj)) << "Tried to mark " << obj << " in to-space"; in MarkObject()
68 if (!mark_bitmap_->Set(obj, slow_path)) { in MarkObject()
70 MarkStackPush(obj); in MarkObject()