Home
last modified time | relevance | path

Searched refs:HasAddress (Results 1 – 24 of 24) 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.cc222 if (!from_space_->HasAddress(reinterpret_cast<mirror::Object*>(last_gc_to_space_end_))) { in MarkingPhase()
301 if (from_space_->HasAddress(ref)) { in operator ()()
320 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
328 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in VerifyNoFromSpaceReferences()
599 DCHECK(to_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
600 fallback_space_->HasAddress(forward_address) || in MarkNonForwardedObject()
601 (generational_ && promo_dest_space_->HasAddress(forward_address))) in MarkNonForwardedObject()
728 DCHECK(!from_space_->HasAddress(obj)) << "Scanning object " << obj << " in from space"; in ScanObject()
752 if (collect_from_space_only && promo_dest_space_->HasAddress(obj)) { in ProcessMarkStack()
764 if (from_space_->HasAddress(obj)) { in IsMarked()
[all …]
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.cc1116 if (LIKELY(region_space_->HasAddress(ref))) { in AddLiveBytesAndScanRef()
1140 DCHECK(heap_->non_moving_space_->HasAddress(ref)); in AddLiveBytesAndScanRef()
1152 if (LIKELY(region_space_->HasAddress(ref))) { in TestAndSetMarkBitForRef()
1154 } else if (heap_->GetNonMovingSpace()->HasAddress(ref)) { in TestAndSetMarkBitForRef()
1181 if (LIKELY(region_space_->HasAddress(ref))) { in TestMarkBitmapForRef()
1183 } else if (heap_->GetNonMovingSpace()->HasAddress(ref)) { in TestMarkBitmapForRef()
2185 DCHECK(!region_space_->HasAddress(to_ref)) << to_ref; in ProcessMarkStackRef()
2191 const bool is_los = !mark_bitmap->HasAddress(to_ref); in ProcessMarkStackRef()
2209 DCHECK(los_bitmap->HasAddress(to_ref)); in ProcessMarkStackRef()
2446 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.h233 if (HasAddress(ref)) { in IsInFromSpace()
246 if (HasAddress(ref)) { in IsInNewlyAllocatedRegion()
254 if (HasAddress(ref)) { in IsInUnevacFromSpace()
262 if (HasAddress(ref)) { in IsLargeObject()
270 if (HasAddress(ref)) { in IsInToSpace()
280 if (HasAddress(ref)) { in GetRegionType()
289 DCHECK(HasAddress(ref)) << ref; in GetRegionTypeUnsafe()
345 DCHECK(HasAddress(ref)); in RegionIdxForRefUnchecked()
356 if (HasAddress(ref)) { in RegionIdxForRef()
650 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.cc808 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/test/596-app-images/
Dapp_images.cc59 if (image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageContains()
/art/runtime/jit/
Djit_code_cache.h407 return zygote_data_pages_.HasAddress(ptr); in IsInZygoteDataSpace()
411 return zygote_exec_pages_.HasAddress(ptr); in IsInZygoteExecSpace()
Djit_code_cache.cc84 CHECK(src.HasAddress(src_ptr)); in TranslateAddress()
486 return exec_pages_.HasAddress(ptr) || zygote_exec_pages_.HasAddress(ptr); in ContainsPc()
/art/libartbase/base/
Dmem_map.h267 bool HasAddress(const void* addr) const { in HasAddress() function
/art/runtime/gc/
Dheap.cc1542 if (bump_pointer_space_ != nullptr && bump_pointer_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1549 } else if (temp_space_ != nullptr && temp_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
1554 if (region_space_ != nullptr && region_space_->HasAddress(obj.Ptr())) { in IsLiveObjectLocked()
2616 if (bitmap1->HasAddress(obj)) { in MarkAllocStack()
2618 } else if (bitmap2->HasAddress(obj)) { in MarkAllocStack()
4244 if (space->HasAddress(obj.Ptr())) { in ObjectIsInBootImageSpace()
/art/runtime/
Dclass_linker.cc1340 space_.HasAddress(referred_obj.Ptr()) && in TestObject()
1414 if (space.HasAddress(obj)) { in VerifyStringInterning()
1495 if (space->HasAddress(klass.Ptr())) { in Update()