• Home
  • Raw
  • Download

Lines Matching refs:from_ref

163     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()
2979 const bool is_los = !mark_bitmap->HasAddress(from_ref); in IsMarkedInNonMovingSpace()
2981 DCHECK(heap_->GetLargeObjectsSpace() && heap_->GetLargeObjectsSpace()->Contains(from_ref)) in IsMarkedInNonMovingSpace()
2982 << "ref=" << from_ref in IsMarkedInNonMovingSpace()
2986 if (is_los ? los_bitmap->Test(from_ref) : mark_bitmap->Test(from_ref)) { in IsMarkedInNonMovingSpace()
2990 return IsOnAllocStack(from_ref); in IsMarkedInNonMovingSpace()
3315 mirror::Object* from_ref, in Copy() argument
3318 DCHECK(region_space_->IsInFromSpace(from_ref)); in Copy()
3321 mirror::Class* klass = from_ref->GetClass<kVerifyNone, kWithoutReadBarrier>(); in Copy()
3325 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Copy()
3330 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy()
3371 << region_space_->GetRegionType(from_ref); in Copy()
3372 LOG(FATAL) << "Object address=" << from_ref << " type=" << from_ref->PrettyTypeOf(); in Copy()
3389 reinterpret_cast<const uint8_t*>(from_ref) + kObjectHeaderSize, in Copy()
3395 LockWord old_lock_word = from_ref->GetLockWord(false); in Copy()
3449 bool success = from_ref->CasLockWord(old_lock_word, in Copy()
3481 DCHECK(GetFwdPtr(from_ref) == to_ref); in Copy()
3492 mirror::Object* ConcurrentCopying::IsMarked(mirror::Object* from_ref) { in IsMarked() argument
3493 DCHECK(from_ref != nullptr); in IsMarked()
3494 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(from_ref); in IsMarked()
3497 return from_ref; in IsMarked()
3501 to_ref = GetFwdPtr(from_ref); in IsMarked()
3504 << "from_ref=" << from_ref << " to_ref=" << to_ref; in IsMarked()
3506 if (IsMarkedInUnevacFromSpace(from_ref)) { in IsMarked()
3507 to_ref = from_ref; in IsMarked()
3514 DCHECK(!region_space_->HasAddress(from_ref)) << from_ref; in IsMarked()
3516 if (immune_spaces_.ContainsObject(from_ref)) { in IsMarked()
3518 to_ref = from_ref; in IsMarked()
3521 if (IsMarkedInNonMovingSpace(from_ref)) { in IsMarked()
3523 to_ref = from_ref; in IsMarked()
3690 mirror::Object* from_ref = field->AsMirrorPtr(); in IsNullOrMarkedHeapReference() local
3691 if (from_ref == nullptr) { in IsNullOrMarkedHeapReference()
3694 mirror::Object* to_ref = IsMarked(from_ref); in IsNullOrMarkedHeapReference()
3698 if (from_ref != to_ref) { in IsNullOrMarkedHeapReference()
3701 if (field->AsMirrorPtr() != from_ref) { in IsNullOrMarkedHeapReference()
3705 } while (!field->CasWeakRelaxed(from_ref, to_ref)); in IsNullOrMarkedHeapReference()
3714 mirror::Object* ConcurrentCopying::MarkObject(mirror::Object* from_ref) { in MarkObject() argument
3715 return Mark(Thread::Current(), from_ref); in MarkObject()
3737 mirror::Object* from_ref) { in MarkFromReadBarrierWithMeasurements() argument
3747 from_ref); in MarkFromReadBarrierWithMeasurements()