Searched refs:object_size (Results 1 – 4 of 4) sorted by relevance
/art/runtime/gc/space/ |
D | space_test.h | 131 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/ |
D | semi_space.cc | 428 const size_t object_size = obj->SizeOf(); in MarkNonForwardedObject() local 432 object_size, in MarkNonForwardedObject() 442 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject() 455 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 762 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local 872 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot() 2225 size_t object_size = RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in FinalizeBinSlotOffsets() local 2240 if (object_size > remaining_space) { in FinalizeBinSlotOffsets() 2249 if (object_size > region_size) { in FinalizeBinSlotOffsets() 2250 remaining_space = RoundUp(object_size + 1u, region_size); in FinalizeBinSlotOffsets() 2252 } else if (remaining_space == object_size) { in FinalizeBinSlotOffsets() 2256 DCHECK_GT(remaining_space, object_size); in FinalizeBinSlotOffsets() 2257 remaining_space -= object_size; in FinalizeBinSlotOffsets() 2259 object_offset += object_size; in FinalizeBinSlotOffsets() [all …]
|
/art/imgdiag/ |
D | imgdiag.cc | 641 size_t object_size = EntrySize(object1); in CountDirtyBytes() local 642 for (size_t i = 0; i < object_size; ++i) { in CountDirtyBytes()
|