Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dobject-refvisitor-inl.h31 ReadBarrierOption kReadBarrierOption,
36 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences()
40 DCHECK((!klass->IsVariableSize<kVerifyFlags, kReadBarrierOption>())); in VisitReferences()
41 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
42 DCHECK((!klass->IsClassClass<kVerifyFlags, kReadBarrierOption>())); in VisitReferences()
45 DCHECK((!klass->IsArrayClass<kVerifyFlags, kReadBarrierOption>())); in VisitReferences()
50 DCHECK((klass->IsClassClass<kVerifyFlags, kReadBarrierOption>())); in VisitReferences()
51 ObjPtr<Class> as_klass = AsClass<kVerifyNone, kReadBarrierOption>(); in VisitReferences()
52 as_klass->VisitReferences<kVisitNativeRoots, kVerifyFlags, kReadBarrierOption>(klass, in VisitReferences()
55 DCHECK((klass->IsObjectArrayClass<kVerifyFlags, kReadBarrierOption>())); in VisitReferences()
[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>
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-inl.h50 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
52 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>( in GetClass()
166 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
168 Class* java_lang_Class = GetClass<kVerifyFlags, kReadBarrierOption>()-> in IsClass()
169 template GetClass<kVerifyFlags, kReadBarrierOption>(); in IsClass()
171 kReadBarrierOption>() == java_lang_Class; in IsClass()
174 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
176 DCHECK((IsClass<kVerifyFlags, kReadBarrierOption>())); in AsClass()
180 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
183 return IsArrayInstance<kVerifyFlags, kReadBarrierOption>() && in IsObjectArray()
[all …]
Dclass_ext-inl.h27 template<ReadBarrierOption kReadBarrierOption, class Visitor>
29 ObjPtr<PointerArray> arr(GetObsoleteMethods<kDefaultVerifyFlags, kReadBarrierOption>()); in VisitNativeRoots()
37 kReadBarrierOption>(i, pointer_size); in VisitNativeRoots()
39 method->VisitRoots<kReadBarrierOption>(visitor, pointer_size); in VisitNativeRoots()
Diftable.h38 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
40 auto* method_array = down_cast<PointerArray*>(Get<kVerifyFlags, kReadBarrierOption>( in GetMethodArray()
47 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
50 Get<kVerifyFlags, kReadBarrierOption>((i * kMax) + kMethodArray)); in GetMethodArrayCount()
Dclass-inl.h44 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
47 DCHECK((!IsVariableSize<kVerifyFlags, kReadBarrierOption>())) << "class=" << PrettyTypeOf(); in GetObjectSize()
51 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
54 DCHECK((!IsVariableSize<kVerifyFlags, kReadBarrierOption>())) << "class=" << PrettyTypeOf(); in GetObjectSizeAllocFastPath()
59 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
66 return GetFieldObject<Class, kVerifyFlags, kReadBarrierOption>( in GetSuperClass()
81 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
83 return GetFieldObject<ClassLoader, kVerifyFlags, kReadBarrierOption>( in GetClassLoader()
87 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
89 return GetFieldObject<ClassExt, kVerifyFlags, kReadBarrierOption>( in GetExtData()
[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()
101 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dclass_loader-inl.h29 ReadBarrierOption kReadBarrierOption,
33 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
Ddex_cache-inl.h305 ReadBarrierOption kReadBarrierOption,
318 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
320 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
328 ReadBarrierOption kReadBarrierOption,
332 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
335 VisitDexCachePairs<String, kReadBarrierOption, Visitor>( in VisitReferences()
338 VisitDexCachePairs<Class, kReadBarrierOption, Visitor>( in VisitReferences()
341 VisitDexCachePairs<MethodType, kReadBarrierOption, Visitor>( in VisitReferences()
351 template <ReadBarrierOption kReadBarrierOption, typename Visitor>
356 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings()
[all …]
Dobject.h92 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
181 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
184 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
188 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
192 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
196 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
199 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
203 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
206 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
210 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
[all …]
Dreference-inl.h52 template<ReadBarrierOption kReadBarrierOption>
55 return java_lang_ref_Reference_.Read<kReadBarrierOption>(); in GetJavaLangRefReference()
Dclass_ext.h56 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
58 return GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>( in GetObsoleteMethods()
79 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier, class Visitor>
Dclass.h480 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
484 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
489 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
497 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
507 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
509 return 1U << GetComponentSizeShift<kReadBarrierOption>(); in GetComponentSize()
512 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
514 return GetComponentType<kDefaultVerifyFlags, kReadBarrierOption>()->GetPrimitiveTypeSizeShift(); in GetComponentSizeShift()
526 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
529 (IsAbstract() && IsArrayClass<kVerifyFlags, kReadBarrierOption>()); in IsInstantiable()
[all …]
Darray.h56 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
172 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
175 return array_class_.Read<kReadBarrierOption>(); in GetArrayClass()
206 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
227 ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
Darray-inl.h41 template<VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
44 size_t component_size_shift = GetClass<kVerifyFlags, kReadBarrierOption>()-> in SizeOf()
45 template GetComponentSizeShift<kReadBarrierOption>(); in SizeOf()
398 template<typename T, VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption>
404 AsLongArray<kVerifyFlags, kReadBarrierOption>()->GetWithoutChecks(idx)); in GetElementPtrSize()
407 AsIntArray<kVerifyFlags, kReadBarrierOption>()->GetWithoutChecks(idx))); in GetElementPtrSize()
429 template <VerifyObjectFlags kVerifyFlags, ReadBarrierOption kReadBarrierOption, typename Visitor>
434 void* ptr = GetElementPtrSize<void*, kVerifyFlags, kReadBarrierOption>(i, pointer_size); in Fixup()
Dobject_array.h46 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
76 ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
/art/runtime/
Dimage-inl.h29 template <ReadBarrierOption kReadBarrierOption>
31 mirror::ObjectArray<mirror::Object>* image_roots = GetImageRoots<kReadBarrierOption>(); in GetImageRoot()
32 return image_roots->Get<kVerifyNone, kReadBarrierOption>(static_cast<int32_t>(image_root)); in GetImageRoot()
35 template <ReadBarrierOption kReadBarrierOption>
44 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.h36 template <typename MirrorType, ReadBarrierOption kReadBarrierOption, bool kAlwaysUpdateField>
39 constexpr bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in Barrier()
100 template <typename MirrorType, ReadBarrierOption kReadBarrierOption>
104 const bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in BarrierForRoot()
148 template <typename MirrorType, ReadBarrierOption kReadBarrierOption>
152 const bool with_read_barrier = kReadBarrierOption == kWithReadBarrier; in BarrierForRoot()
Dread_barrier.h51 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier,
59 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
66 template <typename MirrorType, ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
Dart_method-inl.h50 template <ReadBarrierOption kReadBarrierOption>
53 return declaring_class_.Read<kReadBarrierOption>(&gc_root_source); in GetDeclaringClassUnchecked()
56 template <ReadBarrierOption kReadBarrierOption>
58 mirror::Class* result = GetDeclaringClassUnchecked<kReadBarrierOption>(); in GetDeclaringClass()
364 template <ReadBarrierOption kReadBarrierOption>
367 mirror::Class* klass = GetDeclaringClass<kReadBarrierOption>(); in GetDexCache()
368 return klass->GetDexCache<kDefaultVerifyFlags, kReadBarrierOption>(); in GetDexCache()
462 template<ReadBarrierOption kReadBarrierOption, typename RootVisitorType>
466 mirror::Class* klass = declaring_class_.Read<kReadBarrierOption>(); in VisitRoots()
492 template <ReadBarrierOption kReadBarrierOption, typename Visitor>
[all …]
Dart_method.h82 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
85 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
105 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
108 GetAccessFlagsDCheck<kReadBarrierOption>(); in GetAccessFlags()
257 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
259 return (GetAccessFlags<kReadBarrierOption>() & kAccNative) != 0; in IsNative()
555 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier, typename RootVisitorType>
601 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
684 template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier, typename Visitor>
796 template <ReadBarrierOption kReadBarrierOption> void GetAccessFlagsDCheck();
Dclass_table-inl.h89 template<ReadBarrierOption kReadBarrierOption>
94 GcRoot<mirror::Class>(before_ptr).Read<kReadBarrierOption>()); in Read()
95 if (kReadBarrierOption != kWithoutReadBarrier && before_ptr != after_ptr) { in Read()
Dindirect_reference_table-inl.h89 template<ReadBarrierOption kReadBarrierOption>
95 ObjPtr<mirror::Object> obj = table_[idx].GetReference()->Read<kReadBarrierOption>(); in Get()
Dindirect_reference_table.h254 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
259 template<ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
262 return Get<kReadBarrierOption>(iref); in SynchronizedGet()

12