Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dclass_ext-inl.h38 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
41 GetFieldObject<Object, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
71 : h_this->GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
77 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
79 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureJMethodIDsArrayPresent()
82 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
84 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureStaticJFieldIDsArrayPresent()
87 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
89 return EnsureJniIdsArrayPresent<kVerifyFlags, kReadBarrierOption>( in EnsureInstanceJFieldIDsArrayPresent()
93 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
[all …]
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>
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 …]
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 …]
Dclass_ext.h52 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
57 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
60 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
63 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
67 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
72 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
75 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
78 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
82 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
87 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
[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()
Diftable.h29 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
36 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
40 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
44 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Ddex_cache-inl.h307 ReadBarrierOption kReadBarrierOption,
320 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
322 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
330 ReadBarrierOption kReadBarrierOption,
334 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
337 VisitDexCachePairs<String, kReadBarrierOption, Visitor>( in VisitReferences()
340 VisitDexCachePairs<Class, kReadBarrierOption, Visitor>( in VisitReferences()
343 VisitDexCachePairs<MethodType, kReadBarrierOption, Visitor>( in VisitReferences()
362 template <ReadBarrierOption kReadBarrierOption, typename Visitor>
367 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings()
[all …]
Dreference.h66 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
68 return GetFieldObjectVolatile<Object, kDefaultVerifyFlags, kReadBarrierOption>( in GetReferent()
78 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
80 return GetFieldObject<Reference, kDefaultVerifyFlags, kReadBarrierOption>(PendingNextOffset()); in GetPendingNext()
Dclass_loader-inl.h34 ReadBarrierOption kReadBarrierOption,
38 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
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.h62 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 …]
Dobject.h97 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
187 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
190 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
194 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
197 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
259 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
262 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
278 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
285 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
645 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
[all …]
/art/runtime/
Dclass_root-inl.h30 template <ReadBarrierOption kReadBarrierOption>
34 if (kReadBarrierOption == kWithReadBarrier) { in GetClassRoot()
42 class_roots->GetWithoutChecks<kDefaultVerifyFlags, kReadBarrierOption>(index); in GetClassRoot()
47 template <ReadBarrierOption kReadBarrierOption>
50 return GetClassRoot<kReadBarrierOption>(class_root, linker->GetClassRoots<kReadBarrierOption>()); in GetClassRoot()
53 template <ReadBarrierOption kReadBarrierOption>
56 return GetClassRoot<kReadBarrierOption>(class_root, Runtime::Current()->GetClassLinker()); in GetClassRoot()
79 template <class MirrorType, ReadBarrierOption kReadBarrierOption>
82 return GetClassRoot<kReadBarrierOption>(detail::ClassRootSelector<MirrorType>::value, in GetClassRoot()
86 template <class MirrorType, ReadBarrierOption kReadBarrierOption>
[all …]
Dclass_table-inl.h105 template <typename Visitor, ReadBarrierOption kReadBarrierOption>
110 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
118 template <typename Visitor, ReadBarrierOption kReadBarrierOption>
123 if (!visitor(table_slot.Read<kReadBarrierOption>())) { in Visit()
135 template<ReadBarrierOption kReadBarrierOption>
140 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read()
141 if (kReadBarrierOption != kWithoutReadBarrier && before_ptr != after_ptr) { in Read()
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()
309 template <ReadBarrierOption kReadBarrierOption>
312 ObjPtr<mirror::Class> klass = GetDeclaringClass<kReadBarrierOption>(); in GetDexCache()
313 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
362 template <ReadBarrierOption kReadBarrierOption>
364 if (IsFinal() || GetDeclaringClass<kReadBarrierOption>()->IsFinal()) { in HasSingleImplementation()
372 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()
Dclass_root.h126 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
131 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
135 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
138 template <class MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
142 template <class MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
145 template <class MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
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>
Dmonitor-inl.h27 template<ReadBarrierOption kReadBarrierOption>
29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dindirect_reference_table-inl.h81 template<ReadBarrierOption kReadBarrierOption>
88 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
Dclass_table.h84 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
192 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
196 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dindirect_reference_table.h259 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
264 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
267 return Get<kReadBarrierOption>(iref); in SynchronizedGet()
Dart_field-inl.h54 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()

12