Searched refs:obj_size (Results 1 – 3 of 3) sorted by relevance
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 1802 size_t obj_size = obj->SizeOf(); in Verify() local 1803 CHECK_GT(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify() 1805 CHECK_EQ(num_pages, RoundUp(obj_size + memory_tool_modifier, kPageSize) / kPageSize) in Verify() 1806 << "A rosalloc large object size " << obj_size + memory_tool_modifier in Verify() 1976 size_t obj_size = obj->SizeOf(); in Verify() local 1977 CHECK_LE(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify() 1979 CHECK_EQ(SizeToIndex(obj_size + memory_tool_modifier), idx) in Verify() 1981 << "obj_size=" << obj_size << "(" << obj_size + memory_tool_modifier << "), idx=" << idx in Verify()
|
/art/runtime/gc/collector/ |
D | concurrent_copying.cc | 1391 size_t obj_size = ref->SizeOf(); in operator ()() local 1392 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in operator ()() 1791 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags, kWithoutReadBarrier>(); in Copy() local 1792 size_t region_space_alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in Copy() 1823 to_ref = heap_->non_moving_space_->Alloc(Thread::Current(), obj_size, in Copy() 1840 memcpy(to_ref, from_ref, obj_size); in Copy()
|
/art/runtime/gc/ |
D | heap.cc | 2370 size_t obj_size = obj->SizeOf(); in MarkNonForwardedObject() local 2371 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject() 2399 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()
|