/art/openjdkjvmti/ |
D | ti_thread.cc | 105 art::ScopedThreadSuspension sts(self, art::ThreadState::kNative); in Post() 159 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 205 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister() 250 } else if (*thr == nullptr || (*thr)->GetState() == art::ThreadState::kTerminated) { in GetAliveNativeThread() 381 art::ThreadState art_state; 393 thread_state.art_state = art::ThreadState::kStarting; in GetNativeThreadState() 403 art::ThreadState internal_thread_state = state.art_state; in GetJvmtiThreadStateFromInternal() 422 case art::ThreadState::kRunnable: in GetJvmtiThreadStateFromInternal() 423 case art::ThreadState::kWaitingWeakGcRootRead: in GetJvmtiThreadStateFromInternal() 424 case art::ThreadState::kSuspended: in GetJvmtiThreadStateFromInternal() [all …]
|
D | ti_dump.cc | 51 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative); in SigQuit() 63 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 70 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
D | events-inl.h | 59 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ScopedEventDispatchEnvironment() 65 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ScopedEventDispatchEnvironment() 81 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ~ScopedEventDispatchEnvironment() 217 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchClassFileLoadHookEvent() 272 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEvent() 286 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEvent() 300 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEventOnEnv() 315 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEventOnEnv() 460 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchClassLoadOrPrepareEvent() 495 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative);
|
D | ti_phase.cc | 143 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 150 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
D | ti_ddms.cc | 64 art::ScopedThreadStateChange stcs(self, art::ThreadState::kNative); in HandleChunk()
|
D | ti_stack.cc | 254 art::ThreadState state = thread->GetState(); in GetStackTrace() 255 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetStackTrace() 356 art::ScopedThreadStateChange tsc(self, art::ThreadState::kWaitingForCheckPointsToRun); in RunCheckpointAndWait() 719 art::ThreadState state = thread->GetState(); in GetFrameCount() 720 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetFrameCount() 789 art::ThreadState state = thread->GetState(); in GetFrameLocation() 790 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetFrameLocation() 929 if (!target->RequestSynchronousCheckpoint(&closure, art::ThreadState::kRunnable)) { in GetOwnedMonitorInfoCommon()
|
D | ti_search.cc | 204 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 211 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
D | transform.cc | 134 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action() 263 art::ScopedThreadStateChange stsc(self, art::ThreadState::kNative); in TransformSingleClassDirect()
|
D | deopt_manager.cc | 103 art::ThreadState::kWaitingForDebuggerToAttach); in Setup() 111 art::ThreadState::kWaitingForDebuggerToAttach); in Shutdown()
|
D | ti_method.cc | 80 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative); in RegisterNativeMethod() 99 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 107 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister() 954 if (!target->RequestSynchronousCheckpoint(&c, art::ThreadState::kRunnable)) { in GetLocalInstance()
|
/art/runtime/ |
D | scoped_thread_state_change.h | 44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) 58 const ThreadState thread_state_ = kTerminated; 61 ThreadState old_thread_state_ = kTerminated; 196 ALWAYS_INLINE explicit ScopedThreadSuspension(Thread* self, ThreadState suspended_state) 204 const ThreadState suspended_state_;
|
D | thread_state.h | 24 enum ThreadState { enum 55 std::ostream& operator<<(std::ostream& os, const ThreadState& rhs);
|
D | thread-inl.h | 102 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState() 118 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); in SetState() 182 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { in TransitionToSuspendedAndRunCheckpoints() 228 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { in TransitionFromRunnableToSuspended() 240 inline ThreadState Thread::TransitionFromSuspendedToRunnable() { in TransitionFromSuspendedToRunnable() 244 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable() 302 return static_cast<ThreadState>(old_state); in TransitionFromSuspendedToRunnable()
|
D | monitor_objects_stack_visitor.h | 65 virtual void VisitWaitingObject(ObjPtr<mirror::Object> obj, ThreadState state) 70 ThreadState state,
|
D | scoped_thread_state_change-inl.h | 33 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) in ScopedThreadStateChange() 124 inline ScopedThreadSuspension::ScopedThreadSuspension(Thread* self, ThreadState suspended_state) in ScopedThreadSuspension()
|
D | monitor_objects_stack_visitor.cc | 46 ThreadState state = Monitor::FetchState(GetThread(), in VisitFrame()
|
D | thread.h | 236 ThreadState GetState() const { in GetState() 239 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 242 ThreadState SetState(ThreadState new_state); 294 ThreadState suspend_state = ThreadState::kWaiting) 321 ALWAYS_INLINE ThreadState TransitionFromSuspendedToRunnable() 327 ALWAYS_INLINE void TransitionFromRunnableToSuspended(ThreadState new_state) 1320 ThreadState SetStateUnsafe(ThreadState new_state) { in SetStateUnsafe() 1321 ThreadState old_state = GetState(); in SetStateUnsafe() 1376 ALWAYS_INLINE void TransitionToSuspendedAndRunCheckpoints(ThreadState new_state)
|
D | monitor.h | 102 bool interruptShouldThrow, ThreadState why) 105 static ThreadState FetchState(const Thread* thread, 272 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
|
D | monitor_test.cc | 105 ThreadState::kTimedWaiting); in Run() 150 ThreadState::kTimedWaiting); in Run() 195 ThreadState::kTimedWaiting); in Run()
|
D | reference_table_test.cc | 189 ScopedThreadSuspension sts(soa.Self(), ThreadState::kSuspended); in TEST_F() 256 ScopedThreadSuspension sts(soa.Self(), ThreadState::kSuspended); in TEST_F()
|
D | thread.cc | 311 ScopedThreadSuspension sts(this, ThreadState::kWaiting); in Park() 335 ScopedThreadSuspension sts(this, ThreadState::kTimedWaiting); in Park() 1622 void Wait(Thread* self, ThreadState suspend_state) { in Wait() 1623 if (suspend_state != ThreadState::kRunnable) { in Wait() 1636 bool Thread::RequestSynchronousCheckpoint(Closure* function, ThreadState suspend_state) { in RequestSynchronousCheckpoint() 1649 if (GetState() == ThreadState::kTerminated) { in RequestSynchronousCheckpoint() 1673 if (GetState() == ThreadState::kRunnable) { in RequestSynchronousCheckpoint() 1710 while (GetState() == ThreadState::kRunnable) { in RequestSynchronousCheckpoint() 1723 DCHECK_NE(GetState(), ThreadState::kRunnable); in RequestSynchronousCheckpoint() 2026 void VisitWaitingObject(ObjPtr<mirror::Object> obj, ThreadState state ATTRIBUTE_UNUSED) in VisitWaitingObject() [all …]
|
/art/test/708-jit-cache-churn/ |
D | jit.cc | 49 ScopedThreadSuspension selfSuspension(Thread::Current(), art::ThreadState::kNative); in Java_JitCacheChurnTest_removeJitCompiledMethod()
|
/art/tools/tracefast-plugin/ |
D | tracefast.cc | 148 art::ThreadState::kWaitingForMethodTracingStart); in NextRuntimePhase() 159 art::ThreadState::kWaitingForMethodTracingStart); in ArtPlugin_Initialize()
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 74 ThreadState internal_thread_state = (has_been_started ? kTerminated : kStarting); in Thread_nativeGetStatus()
|
/art/runtime/ti/ |
D | agent.cc | 74 ScopedThreadStateChange stsc(Thread::Current(), ThreadState::kNative); in DoLoadHelper()
|