Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace_test.h133 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size,
135 void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space);
145 intptr_t object_size, in SizeFootPrintGrowthLimitAndTrimBody() argument
148 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) || in SizeFootPrintGrowthLimitAndTrimBody()
149 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) { in SizeFootPrintGrowthLimitAndTrimBody()
171 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1; in SizeFootPrintGrowthLimitAndTrimBody()
183 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody()
184 alloc_size = object_size; in SizeFootPrintGrowthLimitAndTrimBody()
186 alloc_size = test_rand(&rand_seed) % static_cast<size_t>(-object_size); in SizeFootPrintGrowthLimitAndTrimBody()
210 if (object_size > 0) { in SizeFootPrintGrowthLimitAndTrimBody()
[all …]
/art/runtime/gc/collector/
Dsemi_space.cc526 const size_t object_size = obj->SizeOf(); in MarkNonForwardedObject() local
533 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
537 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
583 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr, in MarkNonForwardedObject()
591 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, in MarkNonForwardedObject()
604 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size); in MarkNonForwardedObject()
/art/compiler/
Dimage_writer.cc493 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local
597 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()