Home
last modified time | relevance | path

Searched refs:from_ref (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/collector/
Dconcurrent_copying-inl.h128 mirror::Object* from_ref, in Mark() argument
133 if (from_ref == nullptr) { in Mark()
152 return from_ref; in Mark()
155 if (region_space_->HasAddress(from_ref)) { in Mark()
156 space::RegionSpace::RegionType rtype = region_space_->GetRegionTypeUnsafe(from_ref); in Mark()
160 return from_ref; in Mark()
162 mirror::Object* to_ref = GetFwdPtr(from_ref); in Mark()
165 to_ref = Copy(self, from_ref, holder, offset); in Mark()
170 << "from_ref=" << from_ref << " to_ref=" << to_ref; in Mark()
174 if (kNoUnEvac && use_generational_cc_ && !region_space_->IsLargeObject(from_ref)) { in Mark()
[all …]
Dconcurrent_copying.h128 mirror::Object* from_ref,
133 ALWAYS_INLINE mirror::Object* MarkFromReadBarrier(mirror::Object* from_ref)
155 mirror::Object* IsMarked(mirror::Object* from_ref) override
165 mirror::Object* from_ref,
232 mirror::Object* MarkObject(mirror::Object* from_ref) override
235 void MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref,
239 bool IsMarkedInUnevacFromSpace(mirror::Object* from_ref)
241 bool IsMarkedInNonMovingSpace(mirror::Object* from_ref)
269 mirror::Object* GetFwdPtr(mirror::Object* from_ref)
294 mirror::Object* from_ref,
[all …]
Dconcurrent_copying.cc161 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference() local
162 if (from_ref == nullptr) { in MarkHeapReference()
165 mirror::Object* to_ref = Mark(self, from_ref); in MarkHeapReference()
166 if (from_ref != to_ref) { in MarkHeapReference()
168 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
172 } while (!field->CasWeakRelaxed(from_ref, to_ref)); in MarkHeapReference()
2996 bool ConcurrentCopying::IsMarkedInNonMovingSpace(mirror::Object* from_ref) { in IsMarkedInNonMovingSpace() argument
2997 DCHECK(!region_space_->HasAddress(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
2998 DCHECK(!immune_spaces_.ContainsObject(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
2999 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInNonMovingSpace()
[all …]