Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 7 of 7) sorted by relevance

/art/runtime/gc/collector/
Dmark_compact.cc1687 size_t obj_size = 0; in CompactPage() local
1698 obj_size = obj->VisitRefsForCompaction</*kFetchObjSize*/true, /*kVisitNativeRoots*/false>( in CompactPage()
1705 obj_size = obj->VisitRefsForCompaction</*kFetchObjSize*/true, /*kVisitNativeRoots*/false>( in CompactPage()
1709 obj_size = RoundUp(obj_size, kAlignment); in CompactPage()
1710 DCHECK_GT(obj_size, offset_within_obj) in CompactPage()
1728 obj_size -= offset_within_obj; in CompactPage()
1732 last_stride_begin += obj_size / kAlignment; in CompactPage()
1740 size_t bytes_done = obj_size; in CompactPage()
1751 obj_size = ref->VisitRefsForCompaction(visitor, MemberOffset(0), MemberOffset(-1)); in CompactPage()
1752 obj_size = RoundUp(obj_size, kAlignment); in CompactPage()
[all …]
Dconcurrent_copying.cc1181 size_t obj_size = ref->SizeOf<kDefaultVerifyFlags>(); in AddLiveBytesAndScanRef() local
1182 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef()
2253 size_t obj_size = 0; in ProcessMarkStackRef() local
2338 obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef()
2340 Scan<true>(to_ref, obj_size); in ProcessMarkStackRef()
2342 Scan<false>(to_ref, obj_size); in ProcessMarkStackRef()
2385 if (obj_size == 0) { in ProcessMarkStackRef()
2386 obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef()
2388 region_space_->AddLiveBytes(to_ref, RoundUp(obj_size, space::RegionSpace::kAlignment)); in ProcessMarkStackRef()
3203 inline void ConcurrentCopying::Scan(mirror::Object* to_ref, size_t obj_size) { in Scan() argument
[all …]
Dconcurrent_copying.h183 void Scan(mirror::Object* to_ref, size_t obj_size = 0) REQUIRES_SHARED(Locks::mutator_lock_)
Dmark_compact.h454 void UpdateLivenessInfo(mirror::Object* obj, size_t obj_size)
/art/runtime/gc/space/
Dregion_space.cc283 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in ZeroLiveBytesForLargeObject() local
284 DCHECK_GT(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
286 size_t obj_alloc_size = RoundUp(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
657 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in CheckLiveBytesAgainstRegionBitmap() local
658 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in CheckLiveBytesAgainstRegionBitmap()
/art/runtime/gc/allocator/
Drosalloc.cc1795 size_t obj_size = obj->SizeOf(); in Verify() local
1796 CHECK_GT(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify()
1798 CHECK_EQ(num_pages, DivideByPageSize(RoundUp(obj_size + memory_tool_modifier, gPageSize))) in Verify()
1799 << "A rosalloc large object size " << obj_size + memory_tool_modifier in Verify()
1967 size_t obj_size = obj->SizeOf(); in Verify() local
1968 CHECK_LE(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify()
1970 CHECK_EQ(SizeToIndex(obj_size + memory_tool_modifier), idx) in Verify()
1972 << "obj_size=" << obj_size << "(" << obj_size + memory_tool_modifier << "), idx=" << idx in Verify()
/art/runtime/gc/
Dheap.cc2408 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in MarkNonForwardedObject() local
2409 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject()
2439 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()