/art/runtime/mirror/ |
D | class_ext-inl.h | 39 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 42 GetFieldObject<Object, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent() 72 : h_this->GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent() 78 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 80 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureJMethodIDsArrayPresent() 83 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 85 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureStaticJFieldIDsArrayPresent() 88 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 90 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureInstanceJFieldIDsArrayPresent() 94 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> [all …]
|
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> 56 VisitFields<kReadBarrierOption>([&](ArtField* field) REQUIRES_SHARED(art::Locks::mutator_lock_) { in VisitNativeRoots() 59 CHECK_EQ(field->GetDeclaringClass<kReadBarrierOption>(), this) in VisitNativeRoots() 65 method.VisitRoots<kReadBarrierOption>(visitor, pointer_size); in VisitNativeRoots() 67 ObjPtr<ClassExt> ext(GetExtData<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots() 69 ext->VisitNativeRoots<kReadBarrierOption, Visitor>(visitor, pointer_size); in VisitNativeRoots() [all …]
|
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 | class_ext.h | 50 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 55 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 58 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 61 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 65 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 70 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 73 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 76 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 80 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 85 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> [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 | iftable.h | 29 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 36 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 40 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 44 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|
D | class_loader-inl.h | 34 ReadBarrierOption kReadBarrierOption, 38 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
|
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 | dex_cache-inl.h | 340 ReadBarrierOption kReadBarrierOption, 353 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs() 355 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs() 363 ReadBarrierOption kReadBarrierOption, 367 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences() 370 VisitDexCachePairs<String, kReadBarrierOption, Visitor>( in VisitReferences() 373 VisitDexCachePairs<Class, kReadBarrierOption, Visitor>( in VisitReferences() 376 VisitDexCachePairs<MethodType, kReadBarrierOption, Visitor>( in VisitReferences() 395 template <ReadBarrierOption kReadBarrierOption, typename Visitor> 400 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 | 62 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 69 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>( in GetSuperClass() 90 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 92 return GetFieldObject<ClassLoader, kVerifyFlags, kReadBarrierOption>( in GetClassLoader() 96 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 98 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData() 102 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 104 return GetFieldObject<DexCache, kVerifyFlags, kReadBarrierOption>( in GetDexCache() 290 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption> 293 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetVTable() [all …]
|
D | object.h | 95 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 185 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 188 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 192 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 195 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 257 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 260 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 276 ReadBarrierOption kReadBarrierOption = kWithReadBarrier, 283 ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 643 ReadBarrierOption kReadBarrierOption = kWithReadBarrier, [all …]
|
D | class_loader.h | 71 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
|
/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 | 66 template <typename Visitor, ReadBarrierOption kReadBarrierOption> 71 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 79 template <typename Visitor, ReadBarrierOption kReadBarrierOption> 84 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit() 96 template<ReadBarrierOption kReadBarrierOption> 101 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read() 102 if (kReadBarrierOption != kWithoutReadBarrier && before_ptr != after_ptr) { in Read()
|
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 | 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 | 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 | monitor-inl.h | 27 template<ReadBarrierOption kReadBarrierOption> 29 return obj_.Read<kReadBarrierOption>(); in GetObject()
|
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 | 84 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 193 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier> 197 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
|
D | art_field-inl.h | 54 template<ReadBarrierOption kReadBarrierOption> 57 ObjPtr<mirror::Class> result = declaring_class_.Read<kReadBarrierOption>(&gc_root_source); in GetDeclaringClass() 345 template <ReadBarrierOption kReadBarrierOption> 347 ObjPtr<mirror::Class> klass = GetDeclaringClass<kReadBarrierOption>(); in GetDexCache() 348 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
|