Searched refs:kObjectAlignment (Results 1 – 25 of 45) sorted by relevance
12
/art/runtime/ |
D | verify_object.cc | 35 bool failed = !IsAligned<kObjectAlignment>(obj.Ptr()); in VerifyObjectImpl() 38 failed = failed || !IsAligned<kObjectAlignment>(c); in VerifyObjectImpl()
|
D | runtime_globals.h | 118 static constexpr size_t kObjectAlignment = 1u << kObjectAlignmentShift; variable
|
D | obj_ptr-inl.h | 56 DCHECK_ALIGNED(ref, kObjectAlignment); in Encode()
|
D | fault_handler.cc | 568 if (klass == nullptr || !IsAligned<kObjectAlignment>(klass)) { in IsValidMethod() 574 if (class_class == nullptr || !IsAligned<kObjectAlignment>(class_class)) { in IsValidMethod()
|
D | class_table.h | 114 static constexpr uint32_t kHashMask = kObjectAlignment - 1;
|
D | class_table-inl.h | 232 DCHECK_ALIGNED(ptr, kObjectAlignment); in TableSlot()
|
/art/runtime/gc/accounting/ |
D | card_table_test.cc | 83 for (const uint8_t* addr = HeapBegin(); addr < HeapLimit(); addr += kObjectAlignment) { in TEST_F() 115 start_offset = (start_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F() 121 end_offset = (end_offset + kObjectAlignment) % CardTable::kCardSize; in TEST_F()
|
D | card_table.h | 120 size_t Scan(SpaceBitmap<kObjectAlignment>* bitmap,
|
D | space_bitmap.h | 278 using ContinuousSpaceBitmap = SpaceBitmap<kObjectAlignment>;
|
D | space_bitmap_test.cc | 59 ::testing::Types<SpaceBitmapTestType<ContinuousSpaceBitmap, kObjectAlignment>,
|
D | space_bitmap.cc | 252 template class SpaceBitmap<kObjectAlignment>;
|
/art/tools/cpp-define-generator/ |
D | globals.def | 71 art::kObjectAlignment - 1) 73 ~static_cast<uint32_t>(art::kObjectAlignment - 1)) 75 ~static_cast<uint64_t>(art::kObjectAlignment - 1))
|
/art/runtime/gc/ |
D | heap_verification_test.cc | 70 reinterpret_cast<const void*>(uint_klass + kObjectAlignment))); in TEST_F() 101 EXPECT_FALSE(v->IsValidClass(reinterpret_cast<mirror::Class*>(uint_klass - kObjectAlignment))); in TEST_F() 136 LOG(INFO) << v->DumpObjectInfo(reinterpret_cast<const void*>(uint_klass - kObjectAlignment), in TEST_F()
|
D | verification.cc | 88 oss << DumpRAMAroundAddress(reinterpret_cast<uintptr_t>(addr), 4 * kObjectAlignment); in DumpObjectInfo() 118 << DumpRAMAroundAddress(reinterpret_cast<uintptr_t>(addr), 4 * kObjectAlignment); in LogHeapCorruption() 142 return IsAligned<kObjectAlignment>(addr) && IsAddressInHeapSpace(addr, out_space); in IsValidHeapObjectAddress()
|
D | heap_test.cc | 96 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); in TEST_F() 100 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]); in TEST_F()
|
D | heap-inl.h | 407 DCHECK_ALIGNED(alloc_size, kObjectAlignment); in TryToAllocate() 410 static_assert(kObjectAlignment == space::BumpPointerSpace::kAlignment, in TryToAllocate()
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 210 size_t alloc_size = RoundUp(size, kObjectAlignment); in Alloc() 218 static_assert(IsAligned<sizeof(uint16_t)>(kObjectAlignment), in Alloc() 220 const size_t max_length = RoundDown(max_alloc_length, kObjectAlignment / block_size); in Alloc()
|
/art/runtime/jni/ |
D | local_reference_table.h | 184 static_assert(kObjectAlignment > (1u << kFlagFree)); 185 static_assert(kObjectAlignment > (1u << kFlagSerialNumber));
|
/art/runtime/oat/ |
D | image.cc | 191 static const size_t kStartPos = RoundUp(sizeof(ImageHeader), kObjectAlignment); in VisitObjects() 195 pos += RoundUp(object->SizeOf(), kObjectAlignment); in VisitObjects()
|
/art/openjdkjvmti/ |
D | alloc_manager.cc | 109 std::max(art::RoundUp(static_cast<size_t>(type->GetObjectSize()), art::kObjectAlignment), in PreObjectAllocated()
|
/art/runtime/gc/space/ |
D | bump_pointer_space.h | 169 static constexpr size_t kAlignment = kObjectAlignment;
|
D | image_space.cc | 191 uint8_t* current = Begin() + RoundUp(sizeof(ImageHeader), kObjectAlignment); in VerifyImageAllocations() 193 CHECK_ALIGNED(current, kObjectAlignment); in VerifyImageAllocations() 200 current += RoundUp(obj->SizeOf(), kObjectAlignment); in VerifyImageAllocations() 284 DCHECK_ALIGNED(klass.Ptr(), kObjectAlignment); in VisitClass() 285 static_assert(IsAligned<kHeapReferenceSize>(kObjectAlignment), "Object alignment check."); in VisitClass() 865 static_assert(IsAligned<kObjectAlignment>(sizeof(ImageHeader)), "Header alignment check"); in RemapInternedStringDuplicates() 867 DCHECK_ALIGNED(objects_end, kObjectAlignment); in RemapInternedStringDuplicates() 873 pos += RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in RemapInternedStringDuplicates() 2682 static_assert(IsAligned<kObjectAlignment>(sizeof(ImageHeader)), "Header alignment check"); in DoRelocateSpaces() 2684 DCHECK_ALIGNED(objects_end, kObjectAlignment); in DoRelocateSpaces() [all …]
|
/art/runtime/gc/collector/ |
D | concurrent_copying.h | 48 using ContinuousSpaceBitmap = SpaceBitmap<kObjectAlignment>; 308 accounting::SpaceBitmap<kObjectAlignment>* bitmap)
|
/art/dex2oat/linker/ |
D | image_writer.h | 57 using ContinuousSpaceBitmap = SpaceBitmap<kObjectAlignment>; 339 size_t image_end_ = RoundUp(sizeof(ImageHeader), kObjectAlignment);
|
/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 52 static_assert(kObjectAlignment == gc::space::BumpPointerSpace::kAlignment, "Alignment check"); in artAllocObjectFromCode()
|
12