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)
156 static mirror::Object* GetFwdPtrUnchecked(mirror::Object* from_ref)
160 mirror::Object* IsMarked(mirror::Object* from_ref) override
173 mirror::Object* from_ref,
240 mirror::Object* MarkObject(mirror::Object* from_ref) override
243 void MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref,
247 bool IsMarkedInUnevacFromSpace(mirror::Object* from_ref)
249 bool IsMarkedInNonMovingSpace(mirror::Object* from_ref)
278 mirror::Object* GetFwdPtr(mirror::Object* from_ref) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dconcurrent_copying.cc182 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference() local
183 if (from_ref == nullptr) { in MarkHeapReference()
186 mirror::Object* to_ref = Mark(self, from_ref); in MarkHeapReference()
187 if (from_ref != to_ref) { in MarkHeapReference()
189 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
193 } while (!field->CasWeakRelaxed(from_ref, to_ref)); in MarkHeapReference()
3050 bool ConcurrentCopying::IsMarkedInNonMovingSpace(mirror::Object* from_ref) { in IsMarkedInNonMovingSpace() argument
3051 DCHECK(!region_space_->HasAddress(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
3052 DCHECK(!immune_spaces_.ContainsObject(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
3053 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInNonMovingSpace()
[all …]