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()
656 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in CheckLiveBytesAgainstRegionBitmap() local
657 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.cc1165 size_t obj_size = ref->SizeOf<kDefaultVerifyFlags>(); in AddLiveBytesAndScanRef() local
1166 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef()
2340 size_t obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef() local
2341 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef()
3405 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy() local
3406 size_t region_space_alloc_size = (obj_size <= space::RegionSpace::kRegionSize) in Copy()
3407 ? RoundUp(obj_size, space::RegionSpace::kAlignment) in Copy()
3408 : RoundUp(obj_size, space::RegionSpace::kRegionSize); in Copy()
3441 to_ref = heap_->non_moving_space_->Alloc(self, obj_size, in Copy()
3445 << obj_size << " byte object in region type " in Copy()
[all …]
/art/runtime/gc/
Dheap.cc2242 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in MarkNonForwardedObject() local
2243 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject()
2272 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()