Searched refs:reference (Results 1 - 25 of 44) sorted by relevance

12

/art/runtime/
H A Dhandle.h50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { argument
83 explicit Handle(StackReference<S>* reference) argument
84 : reference_(reference) {
119 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference)
121 : Handle<T>(reference) {
124 ALWAYS_INLINE T* Assign(T* reference) SHARED_REQUIRES(Locks::mutator_lock_) {
127 ref->Assign(reference);
137 explicit MutableHandle(StackReference<S>* reference) SHARED_REQUIRES(Locks::mutator_lock_)
138 : Handle<T>(reference) {
[all...]
/art/runtime/gc/
H A Dreference_processor.cc23 #include "mirror/reference-inl.h"
40 condition_("reference processor condition", *Locks::reference_processor_lock_) ,
63 mirror::Object* ReferenceProcessor::GetReferent(Thread* self, mirror::Reference* reference) { argument
68 mirror::Object* const referent = reference->GetReferent();
70 // scenario where it becomes non-null during the reference processing phase.
79 reference->GetReferentReferenceAddr();
96 (LIKELY(!reference->IsFinalizerReferenceInstance()) && reference->IsUnprocessed())) {
103 return reference->GetReferent();
118 // Process reference clas
263 MakeCircularListIfUnenqueued(mirror::FinalizerReference* reference) argument
[all...]
H A Dreference_processor.h54 // The slow path bool is contained in the reference class object, can only be set once
60 mirror::Object* GetReferent(Thread* self, mirror::Reference* reference)
68 // Make a circular list with reference if it is not enqueued. Uses the finalizer queue lock.
69 bool MakeCircularListIfUnenqueued(mirror::FinalizerReference* reference)
90 // Condition that people wait on if they attempt to get the referent of a reference while
/art/runtime/base/
H A Diteration_range.h33 typedef typename std::iterator_traits<Iter>::reference reference; typedef in class:art::IterationRange
H A Ddchecked_vector.h46 using typename Base::reference;
124 reference operator[](size_type n) {
134 reference front() { DCHECK(!empty()); return Base::front(); }
136 reference back() { DCHECK(!empty()); return Base::back(); }
H A Dallocator.h115 typedef typename std::allocator<T>::reference reference; typedef in class:art::TrackingAllocatorImpl
H A Darena_containers.h148 typedef T& reference; typedef in class:art::ArenaAllocatorAdapter
176 pointer address(reference x) const { return &x; }
H A Dscoped_arena_containers.h114 typedef T& reference; typedef in class:art::ScopedArenaAllocatorAdapter
147 pointer address(reference x) const { return &x; }
/art/runtime/interpreter/mterp/arm/
H A Dop_const_string.S10 bne MterpPossibleException @ let reference interpreter deal with it.
H A Dop_const_string_jumbo.S12 bne MterpPossibleException @ let reference interpreter deal with it.
H A Dentry.S49 VREG_INDEX_TO_ADDR rREFS, r0 @ point to reference array in shadow frame
H A Dfooter.S12 * has not yet been thrown. Just bail out to the reference interpreter to deal with it.
81 * exception, handle it. Otherwise, roll back and retry with the reference
87 beq MterpFallback @ If not, fall back to reference interpreter.
245 * Bail out to reference interpreter.
255 mov r0, #0 @ signal retry with reference interpreter.
/art/runtime/interpreter/mterp/mips64/
H A Dop_const_class.S10 bnez v0, MterpPossibleException # let reference interpreter deal with it.
H A Dop_const_string.S10 bnez v0, MterpPossibleException # let reference interpreter deal with it.
H A Dop_const_string_jumbo.S12 bnez v0, MterpPossibleException # let reference interpreter deal with it.
H A Dfooter.S3 * has not yet been thrown. Just bail out to the reference interpreter to deal with it.
39 * exception, handle it. Otherwise, roll back and retry with the reference
44 beqzc a0, MterpFallback # If not, fall back to reference interpreter.
106 * Bail out to reference interpreter.
117 li v0, 0 # signal retry with reference interpreter.
/art/compiler/utils/
H A Darray_ref.h47 typedef T& reference; typedef in class:art::ArrayRef
135 reference operator[](size_type n) {
145 reference front() {
155 reference back() {
H A Dswap_space.h138 typedef T& reference; typedef in class:art::SwapAllocator
162 pointer address(reference x) const { return &x; }
/art/runtime/interpreter/mterp/mips/
H A Dentry.S53 EAS2(rREFS, rFP, a0) # point to reference array in shadow frame
H A Dfooter.S12 * has not yet been thrown. Just bail out to the reference interpreter to deal with it.
81 * exception, handle it. Otherwise, roll back and retry with the reference
86 beqz a0, MterpFallback # If exception, fall back to reference interpreter.
146 * Bail out to reference interpreter.
156 move v0, zero # signal retry with reference interpreter.
/art/runtime/gc/collector/
H A Dmark_compact.h124 // Schedules an unmarked object for reference processing.
125 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
183 // Update a single heap reference.
184 void UpdateHeapReference(mirror::HeapReference<mirror::Object>* reference)
H A Dmark_compact.cc199 // Disabled due to an issue where we have objects in the bump pointer space which reference dead
373 // Update the reference processor cleared list.
401 inline void MarkCompact::UpdateHeapReference(mirror::HeapReference<mirror::Object>* reference) { argument
402 mirror::Object* obj = reference->AsMirrorPtr();
407 reference->Assign(new_obj);
546 void MarkCompact::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference) { argument
547 heap_->GetReferenceProcessor()->DelayReferenceReferent(klass, reference, this);
H A Dgarbage_collector.h192 // Used by reference processor.
199 virtual void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
/art/test/
H A DAndroid.libarttest.mk40 461-get-reference-vreg/get_reference_vreg_jni.cc \
/art/test/530-checker-lse/src/
H A DMain.java638 java.lang.ref.WeakReference<Object> reference = getWeakReference();
650 // Check to see if the weak reference has been garbage collected.
651 if (reference.get() == null) {

Completed in 307 milliseconds

12