Home
last modified time | relevance | path

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

/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, RoundUp(obj_size + memory_tool_modifier, kPageSize) / kPageSize) in Verify()
1799 << "A rosalloc large object size " << obj_size + memory_tool_modifier in Verify()
1969 size_t obj_size = obj->SizeOf(); in Verify() local
1970 CHECK_LE(obj_size + memory_tool_modifier, kLargeSizeThreshold) in Verify()
1972 CHECK_EQ(SizeToIndex(obj_size + memory_tool_modifier), idx) in Verify()
1974 << "obj_size=" << obj_size << "(" << obj_size + memory_tool_modifier << "), idx=" << idx in Verify()
/art/runtime/gc/collector/
Dconcurrent_copying.cc1486 size_t obj_size = to_ref->SizeOf<kDefaultVerifyFlags>(); in ProcessMarkStackRef() local
1487 size_t alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in ProcessMarkStackRef()
2177 size_t obj_size = from_ref->SizeOf<kDefaultVerifyFlags>(); in Copy() local
2178 size_t region_space_alloc_size = RoundUp(obj_size, space::RegionSpace::kAlignment); in Copy()
2209 to_ref = heap_->non_moving_space_->Alloc(Thread::Current(), obj_size, in Copy()
2213 << obj_size << " byte object in region type " in Copy()
2230 DCHECK_GE(obj_size, kObjectHeaderSize); in Copy()
2238 obj_size - kObjectHeaderSize); in Copy()
/art/runtime/gc/
Dheap.cc2369 size_t obj_size = obj->SizeOf<kDefaultVerifyFlags>(); in MarkNonForwardedObject() local
2370 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject()
2398 memcpy(reinterpret_cast<void*>(forward_address), obj, obj_size); in MarkNonForwardedObject()