Home
last modified time | relevance | path

Searched refs:kObjectAlignment (Results 1 – 23 of 23) sorted by relevance

/art/runtime/gc/accounting/
Dspace_bitmap_test.cc70 reinterpret_cast<mirror::Object*>(heap_begin + j * kObjectAlignment); in TEST_F()
81 reinterpret_cast<mirror::Object*>(heap_begin + i * kObjectAlignment); in TEST_F()
84 reinterpret_cast<mirror::Object*>(heap_begin + (i + j) * kObjectAlignment); in TEST_F()
161 RunTest<kObjectAlignment>(); in TEST_F()
Dcard_table_test.cc83 for (const uint8_t* addr = HeapBegin(); addr < HeapLimit(); addr += kObjectAlignment) { in TEST_F()
114 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
120 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
Dcard_table.h107 size_t Scan(SpaceBitmap<kObjectAlignment>* bitmap, uint8_t* scan_begin, uint8_t* scan_end,
Dspace_bitmap.h230 typedef SpaceBitmap<kObjectAlignment> ContinuousSpaceBitmap;
Dspace_bitmap.cc271 template class SpaceBitmap<kObjectAlignment>;
/art/runtime/
Dverify_object-inl.h35 bool failed = !IsAligned<kObjectAlignment>(obj); in VerifyObject()
38 failed = failed || !IsAligned<kObjectAlignment>(c); in VerifyObject()
Dglobals.h44 static constexpr size_t kObjectAlignment = 8; variable
Dasm_support.h222 ADD_TEST_EQ(static_cast<size_t>(OBJECT_ALIGNMENT_MASK), art::kObjectAlignment - 1) in CheckAsmSupportOffsetsAndSizes()
226 ~static_cast<uint32_t>(art::kObjectAlignment - 1)) in CheckAsmSupportOffsetsAndSizes()
Dfault_handler.cc334 if (method_obj == 0 || !IsAligned<kObjectAlignment>(method_obj)) { in IsInGeneratedCode()
349 if (!IsAligned<kObjectAlignment>(cls)) { in IsInGeneratedCode()
Ddebugger.cc4732 const size_t size = RoundUp(obj->SizeOf(), kObjectAlignment); in BumpPointerSpaceCallback()
/art/runtime/gc/
Dheap_test.cc67 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); in TEST_F()
71 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]); in TEST_F()
Dheap.cc686 if (IsAligned<kObjectAlignment>(obj)) { in DumpObject()
1308 return IsAligned<kObjectAlignment>(obj) && FindSpaceFromObject(obj, true) != nullptr; in IsValidObjectAddress()
1316 if (obj == nullptr || !IsAligned<kObjectAlignment>(obj)) { in IsValidContinuousSpaceObjectAddress()
1329 if (UNLIKELY(!IsAligned<kObjectAlignment>(obj))) { in IsLiveObjectLocked()
1433 CHECK(IsAligned<kObjectAlignment>(obj)) << "Object isn't aligned: " << obj; in VerifyObjectBody()
1436 CHECK(IsAligned<kObjectAlignment>(c)) << "Class " << c << " not aligned in object " << obj; in VerifyObjectBody()
2116 context->prev_ = object_addr + RoundUp(obj->SizeOf(), kObjectAlignment); in Callback()
2135 size_t alloc_size = RoundUp(obj_size, kObjectAlignment); in MarkNonForwardedObject()
Dheap.h535 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1,
536 accounting::SpaceBitmap<kObjectAlignment>* bitmap2,
/art/runtime/gc/collector/
Dconcurrent_copying.h42 typedef SpaceBitmap<kObjectAlignment> ContinuousSpaceBitmap;
248 std::vector<accounting::SpaceBitmap<kObjectAlignment>*> cc_bitmaps_;
249 accounting::SpaceBitmap<kObjectAlignment>* region_space_bitmap_;
Dconcurrent_copying.cc1203 CHECK(IsAligned<kObjectAlignment>(byte_size)); in FillWithDummyObject()
/art/compiler/utils/
Ddex_cache_arrays_layout-inl.h79 return RoundUp(array_size, kObjectAlignment); in ArraySize()
/art/imgdiag/
Dimgdiag.cc361 const uint8_t* current = begin_image_ptr + RoundUp(sizeof(ImageHeader), kObjectAlignment); in DumpImageDiffMap()
364 CHECK_ALIGNED(current, kObjectAlignment); in DumpImageDiffMap()
389 RoundUp(object_address + obj->SizeOf(), kObjectAlignment)); in DumpImageDiffMap()
467 current += RoundUp(obj->SizeOf(), kObjectAlignment); in DumpImageDiffMap()
/art/runtime/gc/space/
Dimage_space.cc648 uint8_t* current = Begin() + RoundUp(sizeof(ImageHeader), kObjectAlignment); in VerifyImageAllocations()
650 CHECK_ALIGNED(current, kObjectAlignment); in VerifyImageAllocations()
657 current += RoundUp(obj->SizeOf(), kObjectAlignment); in VerifyImageAllocations()
Dregion_space.h167 static constexpr size_t kAlignment = kObjectAlignment;
/art/compiler/
Dimage_writer.h84 image_begin_ + RoundUp(sizeof(ImageHeader), kObjectAlignment) + it->second + offset); in GetDexCacheArrayElementImageAddress()
Dimage_writer.cc249 DCHECK_ALIGNED(new_offset, kObjectAlignment); in AssignImageOffset()
463 size_t offset_delta = RoundUp(object_size, kObjectAlignment); // 64-bit alignment in AssignImageBinSlot()
913 image_end_ += RoundUp(sizeof(ImageHeader), kObjectAlignment); // 64-bit-alignment in CalculateNewObjectOffsets()
1486 DCHECK_ALIGNED(GetIndex(), kObjectAlignment); in BinSlot()
/art/runtime/hprof/
Dhprof.cc1160 reinterpret_cast<uintptr_t>(s) + kObjectAlignment); in DumpHeapInstanceObject()
/art/oatdump/
Doatdump.cc1563 size_t alignment_bytes = RoundUp(header_bytes, kObjectAlignment) - header_bytes; in Dump()
1705 size_t alignment_bytes = RoundUp(object_bytes, kObjectAlignment) - object_bytes; in Callback()