Lines Matching refs:soa

260   art::ScopedObjectAccess soa(art::Thread::Current());  in GetStackTrace()  local
261 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetStackTrace()
265 if (!ThreadUtil::GetAliveNativeThread(java_thread, soa, &thread, &thread_error)) { in GetStackTrace()
266 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
273 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
278 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
282 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
287 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
426 art::ScopedObjectAccess soa(current); in GetAllStackTraces() local
535 art::ScopedObjectAccess soa(current); // Now we know we have the shared lock. in GetThreadListStackTraces() local
581 if (!soa.Env()->IsInstanceOf(thread_list[i], art::WellKnownClasses::java_lang_Thread)) { in GetThreadListStackTraces()
584 data.handles.push_back(hs.NewHandle(soa.Decode<art::mirror::Object>(thread_list[i]))); in GetThreadListStackTraces()
660 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); in GetThreadListStackTraces()
668 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
680 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
725 art::ScopedObjectAccess soa(art::Thread::Current()); in GetFrameCount() local
726 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetFrameCount()
730 if (!ThreadUtil::GetAliveNativeThread(java_thread, soa, &thread, &thread_error)) { in GetFrameCount()
731 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
738 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
743 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
795 art::ScopedObjectAccess soa(art::Thread::Current()); in GetFrameLocation() local
796 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetFrameLocation()
800 if (!ThreadUtil::GetAliveNativeThread(java_thread, soa, &thread, &thread_error)) { in GetFrameLocation()
801 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameLocation()
808 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameLocation()
813 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameLocation()
817 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameLocation()
926 static jvmtiError GetOwnedMonitorInfoCommon(const art::ScopedObjectAccessAlreadyRunnable& soa, in GetOwnedMonitorInfoCommon() argument
937 if (!ThreadUtil::GetAliveNativeThread(thread, soa, &target, &err)) { in GetOwnedMonitorInfoCommon()
970 art::ScopedObjectAccess soa(art::Thread::Current()); in GetOwnedMonitorStackDepthInfo() local
980 jvmtiError err = GetOwnedMonitorInfoCommon(soa, thread, handle_fun); in GetOwnedMonitorStackDepthInfo()
992 soa.AddLocalReference<jobject>(mons[i].Read()), in GetOwnedMonitorStackDepthInfo()
1006 art::ScopedObjectAccess soa(art::Thread::Current()); in GetOwnedMonitorInfo() local
1014 jvmtiError err = GetOwnedMonitorInfoCommon(soa, thread, handle_fun); in GetOwnedMonitorInfo()
1025 (*owned_monitors_ptr)[i] = soa.AddLocalReference<jobject>(mons[i].Read()); in GetOwnedMonitorInfo()
1042 art::ScopedObjectAccess soa(self); in NotifyFramePop() local
1045 if (!ThreadUtil::GetAliveNativeThread(thread, soa, &target, &err)) { in NotifyFramePop()
1388 art::ScopedObjectAccess soa(self); in ForceEarlyReturn() local
1389 cur_thread.reset(soa.AddLocalReference<jthread>(self->GetPeer())); in ForceEarlyReturn()