Lines Matching refs:self

92 ObjPtr<mirror::String> InternTable::LookupWeak(Thread* self, ObjPtr<mirror::String> s) {  in LookupWeak()  argument
93 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak()
97 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, ObjPtr<mirror::String> s) { in LookupStrong() argument
98 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
102 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, in LookupStrong() argument
109 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
182 Thread* self = Thread::Current(); in BroadcastForNewInterns() local
183 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns()
184 weak_intern_condition_.Broadcast(self); in BroadcastForNewInterns()
187 void InternTable::WaitUntilAccessible(Thread* self) { in WaitUntilAccessible() argument
188 Locks::intern_table_lock_->ExclusiveUnlock(self); in WaitUntilAccessible()
190 ScopedThreadSuspension sts(self, kWaitingWeakGcRootRead); in WaitUntilAccessible()
191 MutexLock mu(self, *Locks::intern_table_lock_); in WaitUntilAccessible()
193 (kUseReadBarrier && !self->GetWeakRefAccessEnabled())) { in WaitUntilAccessible()
194 weak_intern_condition_.Wait(self); in WaitUntilAccessible()
197 Locks::intern_table_lock_->ExclusiveLock(self); in WaitUntilAccessible()
206 Thread* const self = Thread::Current(); in Insert() local
207 MutexLock mu(self, *Locks::intern_table_lock_); in Insert()
209 Locks::mutator_lock_->AssertSharedHeld(self); in Insert()
210 CHECK_EQ(2u, self->NumberOfHeldMutexes()) << "may only safely hold the mutator lock"; in Insert()
217 CHECK(self->GetWeakRefAccessEnabled()); in Insert()
226 (kUseReadBarrier && self->GetWeakRefAccessEnabled())) { in Insert()
233 StackHandleScope<1> hs(self); in Insert()
235 WaitUntilAccessible(self); in Insert()
240 CHECK(self->GetWeakRefAccessEnabled()); in Insert()
258 Thread* self = Thread::Current(); in InternStrong() local
260 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); in InternStrong()
265 self, utf16_length, utf8_data)); in InternStrong()