Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dspace_test.h130 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/
Dsemi_space.cc514 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/
Dimgdiag.cc625 size_t object_size = EntrySize(object1); in CountDirtyBytes() local
626 for (size_t i = 0; i < object_size; ++i) { in CountDirtyBytes()
/art/dex2oat/linker/
Dimage_writer.cc521 size_t object_size = object->SizeOf(); in AssignImageBinSlot() local
632 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()