Searched refs:object_size (Results 1 – 4 of 4) sorted by relevance
/art/runtime/gc/space/ |
D | space_test.h | 130 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size, 132 void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space); 142 intptr_t object_size, in SizeFootPrintGrowthLimitAndTrimBody() argument 145 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody() 146 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody() 168 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody() 180 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody() 181 alloc_size = object_size; in SizeFootPrintGrowthLimitAndTrimBody() 183 alloc_size = test_rand(&rand_seed) % static_cast<size_t>(-object_size); in SizeFootPrintGrowthLimitAndTrimBody() 207 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody() [all …]
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 514 const size_t object_size = obj->SizeOf(); in MarkNonForwardedObject() local 521 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject() 525 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject() 571 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject() 579 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject() 592 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
|
/art/imgdiag/ |
D | imgdiag.cc | 625 size_t object_size = EntrySize(object1); in CountDirtyBytes() local 626 for (size_t i = 0; i < object_size; ++i) { in CountDirtyBytes()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 521 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local 632 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()
|