Home
last modified time | relevance | path

Searched refs:from_ref (Results 1 – 5 of 5) 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
177 mirror::Object* from_ref,
244 mirror::Object* MarkObject(mirror::Object* from_ref) override
247 void MarkHeapReference(mirror::HeapReference<mirror::Object>* from_ref,
251 bool IsMarkedInUnevacFromSpace(mirror::Object* from_ref)
253 bool IsMarkedInNonMovingSpace(mirror::Object* from_ref)
282 mirror::Object* GetFwdPtr(mirror::Object* from_ref) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dconcurrent_copying.cc196 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference() local
197 if (from_ref == nullptr) { in MarkHeapReference()
200 mirror::Object* to_ref = Mark(self, from_ref); in MarkHeapReference()
201 if (from_ref != to_ref) { in MarkHeapReference()
203 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
207 } while (!field->CasWeakRelaxed(from_ref, to_ref)); in MarkHeapReference()
3108 bool ConcurrentCopying::IsMarkedInNonMovingSpace(mirror::Object* from_ref) { in IsMarkedInNonMovingSpace() argument
3109 DCHECK(!region_space_->HasAddress(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
3110 DCHECK(!immune_spaces_.ContainsObject(from_ref)) << "ref=" << from_ref; in IsMarkedInNonMovingSpace()
3111 if (kUseBakerReadBarrier && from_ref->GetReadBarrierStateAcquire() == ReadBarrier::GrayState()) { in IsMarkedInNonMovingSpace()
[all …]
Dmark_compact-inl.h230 mirror::Object* from_ref = GetFromSpaceAddr(old_ref); in UpdateRef() local
235 << " from_ref=" << from_ref in UpdateRef()
243 reinterpret_cast<uintptr_t>(from_ref), 128) in UpdateRef()
362 mirror::Object* from_ref = GetFromSpaceAddr(old_ref); in PostCompactAddressUnchecked() local
370 << " from_ref=" << from_ref in PostCompactAddressUnchecked()
374 reinterpret_cast<uintptr_t>(from_ref), 128) in PostCompactAddressUnchecked()
/art/runtime/
Dread_barrier-inl.h146 mirror::Object* from_ref = in BarrierForRoot() local
148 return reinterpret_cast<MirrorType*>(from_ref); in BarrierForRoot()
197 mirror::Object* from_ref = in BarrierForRoot() local
199 return reinterpret_cast<MirrorType*>(from_ref); in BarrierForRoot()