Home
last modified time | relevance | path

Searched refs:HasAddress (Results 1 – 21 of 21) sorted by relevance

/art/runtime/gc/collector/
Dsemi_space-inl.h30 DCHECK(from_space_->HasAddress(obj)); in GetForwardingAddressInFromSpace()
48 if (from_space_->HasAddress(obj)) { in MarkObject()
63 DCHECK(!to_space_->HasAddress(obj)) << "Tried to mark " << obj << " in to-space"; in MarkObject()
65 CHECK(!to_space_->HasAddress(ref)) << "Marking " << ref << " in to_space_"; in MarkObject()
79 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
Dsemi_space.cc222 if (!from_space_->HasAddress(reinterpret_cast<mirror::Object*>(last_gc_to_space_end_))) { in MarkingPhase()
300 if (from_space_->HasAddress(ref)) { in operator ()()
319 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
327 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in VerifyNoFromSpaceReferences()
598 DCHECK(to_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
599 fallback_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
600 (generational_ && promo_dest_space_->HasAddress(forward_address))) in MarkNonForwardedObject()
727 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in ScanObject()
750 if (collect_from_space_only_ && promo_dest_space_->HasAddress(obj)) { in ProcessMarkStack()
762 if (from_space_->HasAddress(obj)) { in IsMarked()
[all …]
Dmark_compact.cc137 if (objects_before_forwarding_->HasAddress(obj)) { in MarkObject()
142 DCHECK(!space_->HasAddress(obj)); in MarkObject()
457 if (objects_before_forwarding_->HasAddress(obj)) { in GetMarkedForwardAddress()
464 DCHECK(!space_->HasAddress(obj)); in GetMarkedForwardAddress()
475 if (objects_before_forwarding_->HasAddress(object)) { in IsMarked()
503 DCHECK(space_->HasAddress(obj)) << obj; in MoveObject()
506 DCHECK(space_->HasAddress(dest_obj)) << dest_obj; in MoveObject()
Dimmune_spaces.h75 if (space->HasAddress(obj)) { in ContainsObject()
Dconcurrent_copying-inl.h136 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
Dmark_sweep.cc485 } else if (LIKELY(current_space_bitmap_->HasAddress(obj))) { in MarkObjectNonNull()
528 if (LIKELY(object_bitmap->HasAddress(obj))) { in MarkObjectParallel()
1227 if (space->HasAddress(obj)) { in SweepArray()
1431 if (current_space_bitmap_->HasAddress(object)) { in IsMarked()
Dconcurrent_copying.cc2346 DCHECK(heap_->non_moving_space_->HasAddress(to_ref)); in Copy()
2361 CHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Copy()
2389 DCHECK(heap_->non_moving_space_->HasAddress(to_ref)); in Copy()
2417 heap_->non_moving_space_->HasAddress(to_ref)) in IsMarked()
2476 DCHECK(!region_space_->HasAddress(ref)) << ref; in MarkNonMoving()
/art/runtime/gc/accounting/
Dheap_bitmap-inl.h44 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Test()
59 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Clear()
74 if (LIKELY(lo_bitmap->HasAddress(obj))) { in Set()
91 if (LIKELY(lo_bitmap->HasAddress(obj))) { in AtomicTestAndSet()
101 if (bitmap->HasAddress(obj)) { in GetContinuousSpaceBitmap()
110 if (LIKELY(bitmap->HasAddress(obj))) { in GetLargeObjectBitmap()
Dremembered_set.cc76 if (target_space_->HasAddress(ref_ptr->AsMirrorPtr())) { in operator ()()
79 DCHECK(!target_space_->HasAddress(ref_ptr->AsMirrorPtr())); in operator ()()
85 if (target_space_->HasAddress(ref->GetReferent())) { in operator ()()
100 if (target_space_->HasAddress(root->AsMirrorPtr())) { in VisitRoot()
103 DCHECK(!target_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
145 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))); in UpdateAndMarkReferences()
Dmod_union_table-inl.h37 return !space_->HasAddress(ref); in ShouldAddReference()
Dbitmap.h154 DCHECK(HasAddress(addr)) << CoverBegin() << " <= " << addr << " < " << CoverEnd(); in BitIndexFromAddr()
158 ALWAYS_INLINE bool HasAddress(const uintptr_t addr) const { in HasAddress() function
Dspace_bitmap-inl.h57 DCHECK(HasAddress(obj)) << obj; in Test()
183 DCHECK(HasAddress(obj)) << obj; in Modify()
Dmod_union_table.cc123 if (ref != nullptr && !from_space_->HasAddress(ref) && !immune_space_->HasAddress(ref)) { in MarkReference()
510 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))) in operator ()()
560 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))) in VisitObjects()
Dspace_bitmap.h100 bool HasAddress(const void* obj) const { in HasAddress() function
Dmod_union_table_test.cc126 return target_space_->HasAddress(ref); in ShouldAddReference()
/art/runtime/gc/space/
Dregion_space.h178 if (HasAddress(ref)) { in IsInFromSpace()
186 if (HasAddress(ref)) { in IsInNewlyAllocatedRegion()
194 if (HasAddress(ref)) { in IsInUnevacFromSpace()
202 if (HasAddress(ref)) { in IsInToSpace()
210 if (HasAddress(ref)) { in GetRegionType()
487 DCHECK(HasAddress(ref)); in RefToRegionLocked()
Dspace.h308 bool HasAddress(const mirror::Object* obj) const { in HasAddress() function
314 return HasAddress(obj); in Contains()
/art/test/596-app-images/
Dapp_images.cc57 if (image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageContains()
/art/runtime/
Dmem_map.h166 bool HasAddress(const void* addr) const { in HasAddress() function
Dclass_linker.cc1486 if (space->HasAddress(klass.Ptr())) { in Update()
/art/runtime/gc/
Dheap.cc1397 if (bump_pointer_space_ != nullptr && bump_pointer_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1404 } else if (temp_space_ != nullptr && temp_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1409 if (region_space_ != nullptr && region_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
2450 if (bitmap1->HasAddress(obj)) { in MarkAllocStack()
2452 } else if (bitmap2->HasAddress(obj)) { in MarkAllocStack()
3985 if (space->HasAddress(obj.Ptr())) { in ObjectIsInBootImageSpace()