Searched refs:kObjectAlignment (Results 1 – 23 of 23) sorted by relevance
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 70 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()
|
D | card_table_test.cc | 83 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()
|
D | card_table.h | 107 size_t Scan(SpaceBitmap<kObjectAlignment>* bitmap, uint8_t* scan_begin, uint8_t* scan_end,
|
D | space_bitmap.h | 230 typedef SpaceBitmap<kObjectAlignment> ContinuousSpaceBitmap;
|
D | space_bitmap.cc | 271 template class SpaceBitmap<kObjectAlignment>;
|
/art/runtime/ |
D | verify_object-inl.h | 35 bool failed = !IsAligned<kObjectAlignment>(obj); in VerifyObject() 38 failed = failed || !IsAligned<kObjectAlignment>(c); in VerifyObject()
|
D | globals.h | 44 static constexpr size_t kObjectAlignment = 8; variable
|
D | asm_support.h | 222 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()
|
D | fault_handler.cc | 334 if (method_obj == 0 || !IsAligned<kObjectAlignment>(method_obj)) { in IsInGeneratedCode() 349 if (!IsAligned<kObjectAlignment>(cls)) { in IsInGeneratedCode()
|
D | debugger.cc | 4732 const size_t size = RoundUp(obj->SizeOf(), kObjectAlignment); in BumpPointerSpaceCallback()
|
/art/runtime/gc/ |
D | heap_test.cc | 67 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()
|
D | heap.cc | 686 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()
|
D | heap.h | 535 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1, 536 accounting::SpaceBitmap<kObjectAlignment>* bitmap2,
|
/art/runtime/gc/collector/ |
D | concurrent_copying.h | 42 typedef SpaceBitmap<kObjectAlignment> ContinuousSpaceBitmap; 248 std::vector<accounting::SpaceBitmap<kObjectAlignment>*> cc_bitmaps_; 249 accounting::SpaceBitmap<kObjectAlignment>* region_space_bitmap_;
|
D | concurrent_copying.cc | 1203 CHECK(IsAligned<kObjectAlignment>(byte_size)); in FillWithDummyObject()
|
/art/compiler/utils/ |
D | dex_cache_arrays_layout-inl.h | 79 return RoundUp(array_size, kObjectAlignment); in ArraySize()
|
/art/imgdiag/ |
D | imgdiag.cc | 361 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/ |
D | image_space.cc | 648 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()
|
D | region_space.h | 167 static constexpr size_t kAlignment = kObjectAlignment;
|
/art/compiler/ |
D | image_writer.h | 84 image_begin_ + RoundUp(sizeof(ImageHeader), kObjectAlignment) + it->second + offset); in GetDexCacheArrayElementImageAddress()
|
D | image_writer.cc | 249 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/ |
D | hprof.cc | 1160 reinterpret_cast<uintptr_t>(s) + kObjectAlignment); in DumpHeapInstanceObject()
|
/art/oatdump/ |
D | oatdump.cc | 1563 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()
|