Lines Matching refs:self
46 void ReferenceProcessor::DisableSlowPath(Thread* self) { in DisableSlowPath() argument
48 condition_.Broadcast(self); in DisableSlowPath()
51 mirror::Object* ReferenceProcessor::GetReferent(Thread* self, mirror::Reference* reference) { in GetReferent() argument
58 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent()
85 condition_.WaitHoldingLocks(self); in GetReferent()
100 void ReferenceProcessor::StartPreservingReferences(Thread* self) { in StartPreservingReferences() argument
101 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences()
105 void ReferenceProcessor::StopPreservingReferences(Thread* self) { in StopPreservingReferences() argument
106 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences()
109 condition_.Broadcast(self); in StopPreservingReferences()
120 Thread* self = Thread::Current(); in ProcessReferences() local
122 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
133 StartPreservingReferences(self); in ProcessReferences()
139 StopPreservingReferences(self); in ProcessReferences()
149 StartPreservingReferences(self); in ProcessReferences()
156 StopPreservingReferences(self); in ProcessReferences()
170 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
178 DisableSlowPath(self); in ProcessReferences()
193 Thread* self = Thread::Current(); in DelayReferenceReferent() local
198 soft_reference_queue_.AtomicEnqueueIfNotEnqueued(self, ref); in DelayReferenceReferent()
200 weak_reference_queue_.AtomicEnqueueIfNotEnqueued(self, ref); in DelayReferenceReferent()
202 finalizer_reference_queue_.AtomicEnqueueIfNotEnqueued(self, ref); in DelayReferenceReferent()
204 phantom_reference_queue_.AtomicEnqueueIfNotEnqueued(self, ref); in DelayReferenceReferent()
216 void ReferenceProcessor::EnqueueClearedReferences(Thread* self) { in EnqueueClearedReferences() argument
217 Locks::mutator_lock_->AssertNotHeld(self); in EnqueueClearedReferences()
221 ScopedObjectAccess soa(self); in EnqueueClearedReferences()
222 ScopedLocalRef<jobject> arg(self->GetJniEnv(), in EnqueueClearedReferences()
233 Thread* self = Thread::Current(); in MakeCircularListIfUnenqueued() local
234 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued()
237 condition_.Wait(self); in MakeCircularListIfUnenqueued()
245 MutexLock mu2(self, *Locks::reference_queue_finalizer_references_lock_); in MakeCircularListIfUnenqueued()