Home
last modified time | relevance | path

Searched refs:kReadBarrierOption (Results 1 – 25 of 38) sorted by relevance

12

/art/runtime/mirror/
Dclass-refvisitor-inl.h30 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()
Dobject-refvisitor-inl.h31 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 …]
Diftable-inl.h28 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()
Dclass_ext-inl.h38 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()
Diftable.h29 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
36 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
40 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
44 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dreference.h64 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()
Dclass_loader-inl.h34 ReadBarrierOption kReadBarrierOption,
38 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
Ddex_cache-inl.h339 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 …]
Dobject-inl.h52 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 …]
Dclass-inl.h61 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 …]
Dclass_ext.h50 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
78 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier, class Visitor>
Dobject.h94 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 …]
Dobject_array.h46 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
76 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dobject_array-inl.h38 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/
Dclass_root.h117 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 …]
Dclass_table-inl.h65 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()
Dmonitor-inl.h27 template<ReadBarrierOption kReadBarrierOption>
29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dart_method-inl.h50 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 …]
Dimage-inl.h31 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()
Dgc_root-inl.h30 template<ReadBarrierOption kReadBarrierOption>
33 ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source)); in Read()
Dread_barrier-inl.h35 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()
Dread_barrier.h54 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
62 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
69 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dindirect_reference_table-inl.h89 template<ReadBarrierOption kReadBarrierOption>
95 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
Dindirect_reference_table.h259 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
264 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
267 return Get<kReadBarrierOption>(iref); in SynchronizedGet()
Dclass_table.h86 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
193 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
197 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>

12