Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.cc301 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in ZeroLiveBytesForLargeObject() local
302 DCHECK_GT(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
304 size_t obj_alloc_size = RoundUp(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject()
652 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in CheckLiveBytesAgainstRegionBitmap() local
653 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in CheckLiveBytesAgainstRegionBitmap()
/art/runtime/gc/allocator/
Drosalloc.cc1797 size_t obj_size = obj->SizeOf(); in Verify() local
1798 CHECK_GT(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify()
1800 CHECK_EQ(num_pages, RoundUp(obj_size + memory_tool_modifier, kPageSize) / kPageSize) in Verify()
1801 << "A rosalloc large object size " << obj_size + memory_tool_modifier in Verify()
1971 size_t obj_size = obj->SizeOf(); in Verify() local
1972 CHECK_LE(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify()
1974 CHECK_EQ(SizeToIndex(obj_size + memory_tool_modifier), idx) in Verify()
1976 << "obj_size=" << obj_size << "(" << obj_size + memory_tool_modifier << "), idx=" << idx in Verify()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1122 size_t obj_size = ref->SizeOf<kDefaultVerifyFlags>(); in AddLiveBytesAndScanRef() local
1123 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef()
2270 size_t obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef() local
2271 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef()
3330 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy() local
3331 size_t region_space_alloc_size = (obj_size <= space::RegionSpace::kRegionSize) in Copy()
3332 ? RoundUp(obj_size, space::RegionSpace::kAlignment) in Copy()
3333 : RoundUp(obj_size, space::RegionSpace::kRegionSize); in Copy()
3366 to_ref = heap_->non_moving_space_->Alloc(self, obj_size, in Copy()
3370 << obj_size << " byte object in region type " in Copy()
[all …]
/art/runtime/gc/
Dheap.cc2385 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in MarkNonForwardedObject() local
2386 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject()
2415 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()