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.h126 mirror::Object* from_ref,
131 ALWAYS_INLINE mirror::Object* MarkFromReadBarrier(mirror::Object* from_ref)
154 mirror::Object* IsMarked(mirror::Object* from_ref) override
162 mirror::Object* from_ref,
229 mirror::Object* MarkObject(mirror::Object* from_ref) override
232 void MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref,
236 bool IsMarkedInUnevacFromSpace(mirror::Object* from_ref)
238 bool IsMarkedInNonMovingSpace(mirror::Object* from_ref)
266 mirror::Object* GetFwdPtr(mirror::Object* from_ref)
291 mirror::Object* from_ref,
[all …]
Dconcurrent_copying.cc163 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference() local
164 if (from_ref == nullptr) { in MarkHeapReference()
167 mirror::Object* to_ref = Mark(self, from_ref); in MarkHeapReference()
168 if (from_ref != to_ref) { in MarkHeapReference()
170 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
174 } while (!field->CasWeakRelaxed(from_ref, to_ref)); in MarkHeapReference()
2970 bool ConcurrentCopying::IsMarkedInNonMovingSpace(mirror::Object* from_ref) { in IsMarkedInNonMovingSpace() argument
2971 DCHECK(!region_space_->HasAddress(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
2972 DCHECK(!immune_spaces_.ContainsObject(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
2973 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInNonMovingSpace()
[all …]