Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dsemi_space-inl.h30 DCHECK(from_space_->HasAddress(obj)); in GetForwardingAddressInFromSpace()
47 if (from_space_->HasAddress(obj)) { in MarkObject()
62 DCHECK(!to_space_->HasAddress(obj)) << "Tried to mark " << obj << " in to-space"; in MarkObject()
64 CHECK(!to_space_->HasAddress(ref)) << "Marking " << ref << " in to_space_"; in MarkObject()
77 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
Dsemi_space.cc247 if (from_space_->HasAddress(ref)) { in operator ()()
266 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
274 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in VerifyNoFromSpaceReferences()
457 DCHECK(to_space_->HasAddress(forward_address) || fallback_space_->HasAddress(forward_address)) in MarkNonForwardedObject()
581 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in ScanObject()
599 if (from_space_->HasAddress(obj)) { in IsMarked()
602 } else if (immune_spaces_.IsInImmuneRegion(obj) || to_space_->HasAddress(obj)) { in IsMarked()
Dimmune_spaces.h75 if (space->HasAddress(obj)) { in ContainsObject()
Dconcurrent_copying-inl.h155 if (region_space_->HasAddress(from_ref)) { in Mark()
169 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
Dconcurrent_copying.cc1121 if (LIKELY(region_space_->HasAddress(ref))) { in AddLiveBytesAndScanRef()
1145 DCHECK(heap_->non_moving_space_->HasAddress(ref)); in AddLiveBytesAndScanRef()
1157 if (LIKELY(region_space_->HasAddress(ref))) { in TestAndSetMarkBitForRef()
1159 } else if (heap_->GetNonMovingSpace()->HasAddress(ref)) { in TestAndSetMarkBitForRef()
1186 if (LIKELY(region_space_->HasAddress(ref))) { in TestMarkBitmapForRef()
1188 } else if (heap_->GetNonMovingSpace()->HasAddress(ref)) { in TestMarkBitmapForRef()
2207 DCHECK(!region_space_->HasAddress(to_ref)) << to_ref; in ProcessMarkStackRef()
2213 const bool is_los = !mark_bitmap->HasAddress(to_ref); in ProcessMarkStackRef()
2231 DCHECK(los_bitmap->HasAddress(to_ref)); in ProcessMarkStackRef()
2469 if (space->HasAddress(obj)) { in SweepArray()
[all …]
Dmark_sweep.cc510 } else if (LIKELY(current_space_bitmap_->HasAddress(obj))) { in MarkObjectNonNull()
553 if (LIKELY(object_bitmap->HasAddress(obj))) { in MarkObjectParallel()
1251 if (space->HasAddress(obj)) { in SweepArray()
1455 if (current_space_bitmap_->HasAddress(object)) { in IsMarked()
/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.h153 DCHECK(HasAddress(addr)) << CoverBegin() << " <= " << addr << " < " << CoverEnd(); in BitIndexFromAddr()
157 ALWAYS_INLINE bool HasAddress(const uintptr_t addr) const { in HasAddress() function
Dspace_bitmap-inl.h58 DCHECK(HasAddress(obj)) << obj; in Test()
190 DCHECK(HasAddress(obj)) << obj; in Modify()
Dmod_union_table.cc124 if (ref != nullptr && !from_space_->HasAddress(ref) && !immune_space_->HasAddress(ref)) { in MarkReference()
511 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))) in operator ()()
561 DCHECK(space_->HasAddress(reinterpret_cast<mirror::Object*>(start))) in VisitObjects()
Dspace_bitmap.h119 bool HasAddress(const void* obj) const { in HasAddress() function
Dmod_union_table_test.cc127 return target_space_->HasAddress(ref); in ShouldAddReference()
/art/runtime/gc/space/
Dregion_space.h239 if (HasAddress(ref)) { in IsInFromSpace()
252 if (HasAddress(ref)) { in IsInNewlyAllocatedRegion()
260 if (HasAddress(ref)) { in IsInUnevacFromSpace()
268 if (HasAddress(ref)) { in IsLargeObject()
276 if (HasAddress(ref)) { in IsInToSpace()
286 if (HasAddress(ref)) { in GetRegionType()
295 DCHECK(HasAddress(ref)) << ref; in GetRegionTypeUnsafe()
351 DCHECK(HasAddress(ref)); in RegionIdxForRefUnchecked()
362 if (HasAddress(ref)) { in RegionIdxForRef()
666 DCHECK(HasAddress(ref)); in RefToRegionLocked()
Dspace.h308 bool HasAddress(const mirror::Object* obj) const { in HasAddress() function
314 return HasAddress(obj); in Contains()
Dregion_space.cc818 CHECK(HasAddress(obj)); in DumpRegionForObject()
/art/test/1001-app-image-regions/
Dapp_image_regions.cc43 if (image_header.IsAppImage() && image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageSectionSize()
/art/runtime/jit/
Djit_memory_region.h142 return data_pages_.HasAddress(ptr); in IsInDataSpace()
146 return exec_pages_.HasAddress(ptr); in IsInExecSpace()
193 CHECK(src.HasAddress(src_ptr)) << reinterpret_cast<const void*>(src_ptr); in TranslateAddress()
/art/test/596-app-images/
Dapp_images.cc84 if (image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageContains()
/art/libartbase/base/
Dmem_map.h267 bool HasAddress(const void* addr) const { in HasAddress() function
/art/runtime/gc/
Dheap.cc1562 if (bump_pointer_space_ != nullptr && bump_pointer_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1569 } else if (temp_space_ != nullptr && temp_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1574 if (region_space_ != nullptr && region_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
2491 if (bitmap1->HasAddress(obj)) { in MarkAllocStack()
2493 } else if (bitmap2->HasAddress(obj)) { in MarkAllocStack()
4132 return space->HasAddress(obj.Ptr()); in ObjectIsInBootImageSpace()
/art/runtime/
Dclass_linker.cc1430 space_.HasAddress(referred_obj.Ptr()) && in TestObject()
1500 if (space.HasAddress(obj)) { in CountInternedStringReferences()
1699 if (space->HasAddress(klass.Ptr())) { in Update()