/art/compiler/optimizing/ |
D | escape.cc | 23 void CalculateEscape(HInstruction* reference, in CalculateEscape() argument 29 if (!reference->IsNewInstance() && !reference->IsNewArray()) { in CalculateEscape() 40 if (reference->IsNewInstance() && reference->AsNewInstance()->IsFinalizable()) { in CalculateEscape() 47 for (const HUseListNode<HInstruction*>& use : reference->GetUses()) { in CalculateEscape() 49 if (no_escape != nullptr && (*no_escape)(reference, user)) { in CalculateEscape() 63 (user->IsInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape() 64 (user->IsUnresolvedInstanceFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape() 65 (user->IsStaticFieldSet() && (reference == user->InputAt(1))) || in CalculateEscape() 66 (user->IsUnresolvedStaticFieldSet() && (reference == user->InputAt(0))) || in CalculateEscape() 67 (user->IsArraySet() && (reference == user->InputAt(2)))) { in CalculateEscape() [all …]
|
D | escape.h | 54 void CalculateEscape(HInstruction* reference, 64 bool DoesNotEscape(HInstruction* reference, bool (*no_escape)(HInstruction*, HInstruction*));
|
/art/test/1945-proxy-method-arguments/ |
D | info.txt | 1 Test checking that reference arguments of proxy methods are visited as 4 accessing one of these reference arguments in the proxy method stack 5 frame, it could end up with a stale reference, as the corresponding 7 reference would not have been updated.
|
/art/runtime/ |
D | handle.h | 63 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() argument 122 explicit Handle(StackReference<S>* reference) in Handle() argument 123 : reference_(reference) { in Handle() 153 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() argument 155 : Handle<T>(reference) { in MutableHandle() 158 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 161 ref->Assign(reference); in Assign() 165 ALWAYS_INLINE T* Assign(ObjPtr<T> reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 168 ref->Assign(reference.Ptr()); in Assign() 179 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() argument [all …]
|
D | reflective_handle.h | 41 ALWAYS_INLINE explicit ReflectiveHandle(ReflectiveReference<T>* reference) in ReflectiveHandle() argument 42 : reference_(reference) {} in ReflectiveHandle() 90 ALWAYS_INLINE explicit MutableReflectiveHandle(ReflectiveReference<T>* reference) in MutableReflectiveHandle() argument 92 : ReflectiveHandle<T>(reference) {} in MutableReflectiveHandle() 94 ALWAYS_INLINE T* Assign(T* reference) REQUIRES_SHARED(Locks::mutator_lock_) { in Assign() argument 97 ref->Assign(reference); in Assign()
|
/art/test/800-smali/smali/ |
D | b_22411633_2.smali | 17 # Create a non-precise object reference. We can do this by merging to objects together 35 # Merge the uninitialized Object from line 12 with the reference to Object from 31. Older 36 # rules set any reference merged with Object to Object. This is wrong in the case of the 37 # other reference being an uninitialized reference, as we'd suddenly allow calling on it. 39 # Test whether it's some initialized reference by calling hashCode. This should fail, as we
|
D | b_22411633_4.smali | 11 # At this point v4 is an uninitialized reference. This should fail to verify. 12 # Note: we make sure that it is an uninitialized reference and not a conflict in sister
|
/art/runtime/gc/ |
D | reference_processor.cc | 90 ObjPtr<mirror::Reference> reference) { in GetReferent() argument 95 const ObjPtr<mirror::Object> referent = reference->GetReferent(); in GetReferent() 105 ObjPtr<mirror::Object> referent = reference->GetReferent<kWithoutReadBarrier>(); in GetReferent() 127 (LIKELY(!reference->IsFinalizerReferenceInstance()) && reference->IsUnprocessed())) { in GetReferent() 137 return reference->GetReferent(); in GetReferent() 348 ObjPtr<mirror::FinalizerReference> reference) { in MakeCircularListIfUnenqueued() argument 359 if (reference->IsUnprocessed()) { in MakeCircularListIfUnenqueued() 360 CHECK(reference->IsFinalizerReferenceInstance()); in MakeCircularListIfUnenqueued() 361 reference->SetPendingNext(reference); in MakeCircularListIfUnenqueued()
|
/art/test/600-verifier-fails/ |
D | info.txt | 13 access validation on field should occur prior to null reference check 16 verification failure (non-reference type) to avoid a compiler crash 19 access validation on method should occur prior to null reference check
|
/art/libartbase/base/ |
D | transform_array_ref.h | 48 using reference = typename Iter::reference; variable 49 using const_reference = typename ConstIter::reference; 111 reference operator[](size_type n) { return GetFunction()(base()[n]); } 114 reference front() { return GetFunction()(base().front()); } in front() 117 reference back() { return GetFunction()(base().back()); } in back()
|
D | transform_iterator.h | 47 using InputType = typename std::iterator_traits<BaseIterator>::reference; 59 using reference = ResultType; variable 95 reference operator*() const { 99 reference operator[](difference_type n) const {
|
D | array_slice.h | 34 using reference = T&; variable 87 reference operator[](size_t index) { 97 reference front() { in front() 107 reference back() { in back()
|
D | transform_iterator_test.cc | 52 static_assert(std::is_same<int, vector_titer::reference>::value, "reference"); in TEST() 59 static_assert(std::is_same<int, vector_ctiter::reference>::value, "reference"); in TEST() 66 static_assert(std::is_same<int, vector_rtiter::reference>::value, "reference"); in TEST() 73 static_assert(std::is_same<int, vector_crtiter::reference>::value, "reference"); in TEST() 155 static_assert(std::is_same<int, list_titer::reference>::value, "reference"); in TEST() 162 static_assert(std::is_same<int, list_ctiter::reference>::value, "reference"); in TEST() 169 static_assert(std::is_same<int, list_rtiter::reference>::value, "reference"); in TEST() 176 static_assert(std::is_same<int, list_crtiter::reference>::value, "reference"); in TEST() 219 static_assert(std::is_same<int, flist_titer::reference>::value, "reference"); in TEST() 226 static_assert(std::is_same<int, flist_ctiter::reference>::value, "reference"); in TEST() [all …]
|
D | iteration_range.h | 33 typedef typename std::iterator_traits<Iter>::reference reference; typedef
|
D | array_ref.h | 44 using reference = T&; variable 138 reference operator[](size_type n) { 148 reference front() { in front() 158 reference back() { in back()
|
/art/test/549-checker-types-merge/ |
D | info.txt | 1 Checker test for testing the type merge during reference type propagation.
|
/art/test/554-checker-rtp-checkcast/ |
D | info.txt | 1 Tests that phis with check-casted reference type inputs are typed.
|
/art/test/557-checker-ref-equivalent/ |
D | info.txt | 1 Checker tests to ensure we do not get reference and integer phi equivalents.
|
/art/test/080-oom-throw-with-finalizer/ |
D | info.txt | 1 Regression test on correct processing of OOM thrown while adding a finalizer reference.
|
/art/test/1003-metadata-section-strings/ |
D | info.txt | 1 Test that releasing the metadata cache doesn't break reference equality of string literals.
|
/art/test/581-rtp/ |
D | info.txt | 1 Regression test for the reference type propagation pass
|
/art/test/030-bad-finalizer/ |
D | expected.txt | 1 About to null reference.
|
/art/tools/veridex/ |
D | flow_analysis.h | 52 RegisterValue(RegisterSource source, DexFileReference reference, const VeriClass* type) in RegisterValue() argument 53 : source_(source), value_(0), reference_(reference), type_(type) {} in RegisterValue() 57 DexFileReference reference, in RegisterValue() argument 59 : source_(source), value_(value), reference_(reference), type_(type) {} in RegisterValue()
|
/art/test/1336-short-finalizer-timeout/ |
D | expected.txt | 2 About to null reference.
|
/art/test/072-reachability-fence/ |
D | info.txt | 2 reference.
|