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

/art/runtime/gc/space/
H A Dspace_test.h119 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size,
121 void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space);
375 void SpaceTest::SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size, argument
377 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) ||
378 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) {
400 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1;
412 if (object_size >
542 SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space) argument
[all...]
/art/runtime/gc/collector/
H A Dsemi_space.cc481 const size_t object_size = obj->SizeOf(); local
488 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
492 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr);
537 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr);
544 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
557 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size);
/art/runtime/gc/
H A Dheap.cc1851 size_t object_size = RoundUp(obj->SizeOf(), kObjectAlignment); local
1854 auto it = bins_.lower_bound(object_size);
1859 forward_address = to_space_->Alloc(self_, object_size, &bytes_allocated, nullptr);
1874 DCHECK_GE(size, object_size);
1875 AddBin(size - object_size, pos + object_size); // Add a new bin with the remaining space.
1878 memcpy(reinterpret_cast<void*>(forward_address), obj, object_size); local

Completed in 68 milliseconds