Lines Matching defs:ref
1989 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
1990 if (ref == object_ && (max_count_ == 0 || referring_objects_.size() < max_count_)) {
2863 void operator()(mirror::Class* klass ATTRIBUTE_UNUSED, mirror::Reference* ref) const
2866 VerifyReference(ref, ref->GetReferent(), mirror::Reference::ReferentOffset());
2904 bool VerifyReference(mirror::Object* obj, mirror::Object* ref, MemberOffset offset) const
2906 if (ref == nullptr || IsLive(ref)) {
2920 LOG(ERROR) << "Object " << obj << " references dead object " << ref << " at offset "
2929 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true);
2932 mirror::Class* ref_class = space->FindRecentFreedObject(ref);
2934 LOG(ERROR) << "Reference " << ref << " found as a recently freed object with class "
2937 LOG(ERROR) << "Reference " << ref << " not found as a recently freed object";
2941 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) &&
2942 ref->GetClass()->IsClass()) {
2943 LOG(ERROR) << "Ref type " << PrettyTypeOf(ref);
2945 LOG(ERROR) << "Ref " << ref << " class(" << ref->GetClass()
2974 if (alloc_stack->Contains(const_cast<mirror::Object*>(ref))) {
2975 LOG(ERROR) << "Ref " << ref << " found in allocation stack";
2977 if (live_stack->Contains(const_cast<mirror::Object*>(ref))) {
2978 LOG(ERROR) << "Ref " << ref << " found in live stack";
2991 RootMatchesObjectVisitor visitor2(ref);
3129 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
3132 if (ref != nullptr && !ref->IsClass()) {
3144 if (live_stack->ContainsSorted(ref)) {
3152 << " references " << ref << " " << PrettyTypeOf(ref) << " in live stack";
3169 if (object_array->Get(i) == ref) {
3170 LOG(ERROR) << (is_static ? "Static " : "") << "obj[" << i << "] = ref";