Home
last modified time | relevance | path

Searched refs:object_size (Results 1 – 5 of 5) sorted by relevance

/art/runtime/gc/space/
Dspace_test.h131 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size,
133 void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space);
143 intptr_t object_size, in SizeFootPrintGrowthLimitAndTrimBody() argument
146 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody()
147 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody()
169 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody()
181 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody()
182 alloc_size = object_size; in SizeFootPrintGrowthLimitAndTrimBody()
184 alloc_size = test_rand(&rand_seed) % static_cast<size_t>(-object_size); in SizeFootPrintGrowthLimitAndTrimBody()
208 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody()
[all …]
/art/runtime/gc/collector/
Dsemi_space.cc428 const size_t object_size = obj->SizeOf(); in MarkNonForwardedObject() local
432 self_, object_size, &bytes_allocated, nullptr, &unused_bytes_tl_bulk_allocated); in MarkNonForwardedObject()
440 self_, object_size, &bytes_allocated, nullptr, &unused_bytes_tl_bulk_allocated); in MarkNonForwardedObject()
452 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
/art/dex2oat/linker/
Dimage_writer.cc801 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local
813 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()
2391 size_t object_size = RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in FinalizeBinSlotOffsets() local
2406 if (object_size > remaining_space) { in FinalizeBinSlotOffsets()
2415 if (object_size > region_size) { in FinalizeBinSlotOffsets()
2416 remaining_space = RoundUp(object_size + 1u, region_size); in FinalizeBinSlotOffsets()
2418 } else if (remaining_space == object_size) { in FinalizeBinSlotOffsets()
2422 DCHECK_GT(remaining_space, object_size); in FinalizeBinSlotOffsets()
2423 remaining_space -= object_size; in FinalizeBinSlotOffsets()
2425 object_offset += object_size; in FinalizeBinSlotOffsets()
[all …]
/art/runtime/
Druntime_image.cc1653 size_t object_size = obj->SizeOf(); in CopyObject() local
1657 objects_.resize(RoundUp(offset + object_size, kObjectAlignment)); in CopyObject()
1661 reinterpret_cast<uint8_t*>(copy), obj, object_size - sizeof(mirror::Object)); in CopyObject()
1676 object_section_size_ += RoundUp(object_size, kObjectAlignment); in CopyObject()
/art/imgdiag/
Dimgdiag.cc839 size_t object_size = EntrySize(object1); in CountDirtyBytes() local
840 for (size_t i = 0; i < object_size; ++i) { in CountDirtyBytes()