Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dclass_ext-inl.h39 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 …]
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.h50 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 …]
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>
Dclass_loader-inl.h34 ReadBarrierOption kReadBarrierOption,
38 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
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()
Ddex_cache-inl.h340 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 …]
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.h95 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 …]
Dclass_loader.h71 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
/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.h66 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()
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()
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 …]
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.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.h84 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
193 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
197 template <typename Visitor, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
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