Searched refs:obj_size (Results 1 – 4 of 4) sorted by relevance
/art/runtime/gc/space/ |
D | region_space.cc | 302 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in ZeroLiveBytesForLargeObject() local 303 DCHECK_GT(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject() 305 size_t obj_alloc_size = RoundUp(obj_size, space::RegionSpace::kRegionSize); in ZeroLiveBytesForLargeObject() 662 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in CheckLiveBytesAgainstRegionBitmap() local 663 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in CheckLiveBytesAgainstRegionBitmap()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1797 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/ |
D | concurrent_copying.cc | 1127 size_t obj_size = ref->SizeOf<kDefaultVerifyFlags>(); in AddLiveBytesAndScanRef() local 1128 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in AddLiveBytesAndScanRef() 2292 size_t obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef() local 2293 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef() 3356 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy() local 3357 size_t region_space_alloc_size = (obj_size <= space::RegionSpace::kRegionSize) in Copy() 3358 ? RoundUp(obj_size, space::RegionSpace::kAlignment) in Copy() 3359 : RoundUp(obj_size, space::RegionSpace::kRegionSize); in Copy() 3393 self, obj_size, &non_moving_space_bytes_allocated, nullptr, &unused_size); in Copy() 3396 << obj_size << " byte object in region type " in Copy() [all …]
|
/art/runtime/gc/ |
D | heap.cc | 2243 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in MarkNonForwardedObject() local 2244 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject() 2274 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
|