/art/runtime/mirror/ |
D | class-refvisitor-inl.h | 30 ReadBarrierOption kReadBarrierOption, 33 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass.Ptr(), visitor); in VisitReferences() 45 VisitStaticFieldsReferences<kVerifyFlags, kReadBarrierOption>(this, visitor); in VisitReferences() 49 VisitNativeRoots<kReadBarrierOption>( in VisitReferences() 54 template<ReadBarrierOption kReadBarrierOption, class Visitor> 60 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots() 67 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots() 71 method.VisitRoots<kReadBarrierOption>(visitor, pointer_size); in VisitNativeRoots() 73 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots() 75 ext->VisitNativeRoots<kReadBarrierOption, Visitor>(visitor, pointer_size); in VisitNativeRoots()
|
D | object-refvisitor-inl.h | 31 ReadBarrierOption kReadBarrierOption, 37 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() 41 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences() 52 as_klass->VisitReferences<kVisitNativeRoots, kVerifyFlags, kReadBarrierOption>(klass, in VisitReferences() 58 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences() 59 ref_visitor(klass, AsReference<kVerifyFlags, kReadBarrierOption>()); in VisitReferences() 61 ObjPtr<mirror::DexCache> const dex_cache = AsDexCache<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() 64 kReadBarrierOption>(klass, visitor); in VisitReferences() 67 AsClassLoader<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() 70 kReadBarrierOption>(klass, visitor); in VisitReferences() [all …]
|
D | iftable-inl.h | 28 ReadBarrierOption kReadBarrierOption> 31 GetWithoutChecks<kVerifyFlags, kReadBarrierOption>((i * kMax) + kInterface)->AsClass(); in GetInterface() 45 ReadBarrierOption kReadBarrierOption> 48 Get<kVerifyFlags, kReadBarrierOption>((i * kMax) + kMethodArray)); in GetMethodArrayOrNull() 52 ReadBarrierOption kReadBarrierOption> 54 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArray() 60 ReadBarrierOption kReadBarrierOption> 62 ObjPtr<PointerArray> method_array = GetMethodArrayOrNull<kVerifyFlags, kReadBarrierOption>(i); in GetMethodArrayCount()
|
D | class_ext-inl.h | 38 ReadBarrierOption kReadBarrierOption> 40 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetObsoleteMethods() 48 template<ReadBarrierOption kReadBarrierOption, class Visitor> 50 ObjPtr<PointerArray> arr(GetObsoleteMethods<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots() 58 method->VisitRoots<kReadBarrierOption>(visitor, pointer_size); in VisitNativeRoots()
|
D | iftable.h | 29 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 36 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 40 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 44 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|
D | reference.h | 64 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 66 return GetFieldObjectVolatile<Object, kDefaultVerifyFlags, kReadBarrierOption>( in GetReferent() 76 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 78 return GetFieldObject<Reference, kDefaultVerifyFlags, kReadBarrierOption>(PendingNextOffset()); in GetPendingNext()
|
D | class_loader-inl.h | 34 ReadBarrierOption kReadBarrierOption, 38 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
|
D | dex_cache-inl.h | 339 ReadBarrierOption kReadBarrierOption, 352 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs() 354 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs() 362 ReadBarrierOption kReadBarrierOption, 366 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences() 369 VisitDexCachePairs<String, kReadBarrierOption, Visitor>( in VisitReferences() 372 VisitDexCachePairs<Class, kReadBarrierOption, Visitor>( in VisitReferences() 375 VisitDexCachePairs<MethodType, kReadBarrierOption, Visitor>( in VisitReferences() 392 template <ReadBarrierOption kReadBarrierOption, typename Visitor> 397 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings() [all …]
|
D | object-inl.h | 52 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 54 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>(ClassOffset()); in GetClass() 179 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 181 return GetClass<kVerifyFlags, kReadBarrierOption>()->IsTypeOfReferenceClass(); in IsReferenceInstance() 184 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 186 DCHECK((IsReferenceInstance<kVerifyFlags, kReadBarrierOption>())); in AsReference() 602 ReadBarrierOption kReadBarrierOption, 608 T* result = ReadBarrier::Barrier<T, kIsVolatile, kReadBarrierOption>( in GetFieldObject() 616 template<class T, VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 618 return GetFieldObject<T, kVerifyFlags, kReadBarrierOption, true>(field_offset); in GetFieldObjectVolatile() [all …]
|
D | class-inl.h | 61 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 68 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>( in GetSuperClass() 88 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 90 return GetFieldObject<ClassLoader, kVerifyFlags, kReadBarrierOption>( in GetClassLoader() 94 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 96 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData() 100 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 102 return GetFieldObject<DexCache, kVerifyFlags, kReadBarrierOption>( in GetDexCache() 288 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 291 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetVTable() [all …]
|
D | class_ext.h | 50 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 78 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier, class Visitor>
|
D | object.h | 94 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 183 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 186 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 190 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 193 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 255 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 258 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 274 ReadBarrierOption kReadBarrierOption = kWithReadBarrier, 281 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 641 ReadBarrierOption kReadBarrierOption = kWithReadBarrier, [all …]
|
D | object_array.h | 46 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 76 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|
D | object_array-inl.h | 38 template<class T> template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 44 return GetFieldObject<T, kVerifyFlags, kReadBarrierOption>(OffsetOfElement(i)); in Get() 96 template<class T> template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 99 return GetFieldObject<T, kVerifyFlags, kReadBarrierOption>(OffsetOfElement(i)); in GetWithoutChecks()
|
/art/runtime/ |
D | class_root.h | 117 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 122 if (kReadBarrierOption == kWithReadBarrier) { in GetClassRoot() 130 class_roots->GetWithoutChecks<kDefaultVerifyFlags, kReadBarrierOption>(index); in GetClassRoot() 135 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 138 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot() 141 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 144 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot() 167 template <class MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 170 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, in GetClassRoot() 174 template <class MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> [all …]
|
D | class_table-inl.h | 65 template <typename Visitor, ReadBarrierOption kReadBarrierOption> 70 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 78 template <typename Visitor, ReadBarrierOption kReadBarrierOption> 83 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 91 template<ReadBarrierOption kReadBarrierOption> 96 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read() 97 if (kReadBarrierOption != kWithoutReadBarrier && before_ptr != after_ptr) { in Read()
|
D | monitor-inl.h | 27 template<ReadBarrierOption kReadBarrierOption> 29 return obj_.Read<kReadBarrierOption>(); in GetObject()
|
D | art_method-inl.h | 50 template <ReadBarrierOption kReadBarrierOption> 53 return declaring_class_.Read<kReadBarrierOption>(&gc_root_source); in GetDeclaringClassUnchecked() 56 template <ReadBarrierOption kReadBarrierOption> 58 ObjPtr<mirror::Class> result = GetDeclaringClassUnchecked<kReadBarrierOption>(); in GetDeclaringClass() 299 template <ReadBarrierOption kReadBarrierOption> 302 ObjPtr<mirror::Class> klass = GetDeclaringClass<kReadBarrierOption>(); in GetDexCache() 303 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache() 352 template <ReadBarrierOption kReadBarrierOption> 354 if (IsFinal() || GetDeclaringClass<kReadBarrierOption>()->IsFinal()) { in HasSingleImplementation() 362 template<ReadBarrierOption kReadBarrierOption, typename RootVisitorType> [all …]
|
D | image-inl.h | 31 template <ReadBarrierOption kReadBarrierOption> 33 ObjPtr<mirror::ObjectArray<mirror::Object>> image_roots = GetImageRoots<kReadBarrierOption>(); in GetImageRoot() 34 return image_roots->Get<kVerifyNone, kReadBarrierOption>(static_cast<int32_t>(image_root)); in GetImageRoot() 37 template <ReadBarrierOption kReadBarrierOption> 46 ReadBarrier::BarrierForRoot<mirror::ObjectArray<mirror::Object>, kReadBarrierOption>( in GetImageRoots()
|
D | gc_root-inl.h | 30 template<ReadBarrierOption kReadBarrierOption> 33 ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source)); in Read()
|
D | read_barrier-inl.h | 35 template <typename MirrorType, bool kIsVolatile, ReadBarrierOption kReadBarrierOption, 39 constexpr bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in Barrier() 106 template <typename MirrorType, ReadBarrierOption kReadBarrierOption> 110 const bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in BarrierForRoot() 154 template <typename MirrorType, ReadBarrierOption kReadBarrierOption> 158 const bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in BarrierForRoot()
|
D | read_barrier.h | 54 ReadBarrierOption kReadBarrierOption = kWithReadBarrier, 62 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 69 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|
D | indirect_reference_table-inl.h | 89 template<ReadBarrierOption kReadBarrierOption> 95 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
|
D | indirect_reference_table.h | 259 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 264 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 267 return Get<kReadBarrierOption>(iref); in SynchronizedGet()
|
D | class_table.h | 86 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 193 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 197 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|