/art/openjdkjvmti/ |
D | ti_thread.cc | 105 art::ScopedThreadSuspension sts(self, art::ThreadState::kNative); in Post() 161 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 207 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister() 253 } else if (*thr == nullptr || (*thr)->GetState() == art::ThreadState::kTerminated) { in GetAliveNativeThread() 384 art::ThreadState art_state; 396 thread_state.art_state = art::ThreadState::kStarting; in GetNativeThreadState() 406 art::ThreadState internal_thread_state = state.art_state; in GetJvmtiThreadStateFromInternal() 425 case art::ThreadState::kRunnable: in GetJvmtiThreadStateFromInternal() 426 case art::ThreadState::kWaitingWeakGcRootRead: in GetJvmtiThreadStateFromInternal() 427 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 | alloc_manager.cc | 68 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in PauseForAllocation() 144 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in DecrListenerInstall() 154 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in IncrListenerInstall() 199 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in PauseAllocations() 212 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in ResumeAllocations()
|
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() 219 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchClassFileLoadHookEvent() 275 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEvent() 289 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEvent() 303 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEventOnEnv() 318 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchEventOnEnv() 330 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); 483 art::ScopedThreadStateChange stsc(thread, art::ThreadState::kNative); in DispatchClassLoadOrPrepareEvent() [all …]
|
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_breakpoint.cc | 105 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 113 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
D | ti_stack.cc | 271 art::ThreadState state = thread->GetState(); in GetStackTrace() 272 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetStackTrace() 373 art::ScopedThreadStateChange tsc(self, art::ThreadState::kWaitingForCheckPointsToRun); in RunCheckpointAndWait() 736 art::ThreadState state = thread->GetState(); in GetFrameCount() 737 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetFrameCount() 806 art::ThreadState state = thread->GetState(); in GetFrameLocation() 807 if (state == art::ThreadState::kStarting || thread->IsStillStarting()) { in GetFrameLocation() 946 if (!target->RequestSynchronousCheckpoint(&closure, art::ThreadState::kRunnable)) { in GetOwnedMonitorInfoCommon() 1204 DCHECK_EQ(old_state_, art::ThreadState::kNative) in RELEASE_SHARED() 1217 art::ThreadState old_state_ = art::ThreadState::kTerminated;
|
D | transform.cc | 140 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action() 276 art::ScopedThreadStateChange stsc(self, art::ThreadState::kNative); in TransformSingleClassDirect()
|
D | ti_field.cc | 114 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 122 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
D | ti_search.cc | 210 art::ThreadState::kWaitingForDebuggerToAttach); in Register() 217 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
|
/art/runtime/ |
D | thread_state.h | 28 enum ThreadState { enum 60 std::ostream& operator<<(std::ostream& os, ThreadState rhs);
|
D | scoped_thread_state_change.h | 44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) 58 const ThreadState thread_state_ = kTerminated; 63 ThreadState old_thread_state_ = kTerminated; 198 ALWAYS_INLINE explicit ScopedThreadSuspension(Thread* self, ThreadState suspended_state) 206 const ThreadState suspended_state_;
|
D | thread-inl.h | 103 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState() 120 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); in SetState() 184 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { in TransitionToSuspendedAndRunCheckpoints() 230 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { in TransitionFromRunnableToSuspended() 242 inline ThreadState Thread::TransitionFromSuspendedToRunnable() { in TransitionFromSuspendedToRunnable() 246 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable() 304 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() 120 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 | 237 ThreadState GetState() const { in GetState() 240 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState() 243 ThreadState SetState(ThreadState new_state); 302 ThreadState suspend_state = ThreadState::kWaiting) 329 ALWAYS_INLINE ThreadState TransitionFromSuspendedToRunnable() 335 ALWAYS_INLINE void TransitionFromRunnableToSuspended(ThreadState new_state) 1371 ThreadState SetStateUnsafe(ThreadState new_state) { in SetStateUnsafe() 1372 ThreadState old_state = GetState(); in SetStateUnsafe() 1427 ALWAYS_INLINE void TransitionToSuspendedAndRunCheckpoints(ThreadState new_state)
|
D | monitor_test.cc | 105 ThreadState::kTimedWaiting); in Run() 150 ThreadState::kTimedWaiting); in Run() 195 ThreadState::kTimedWaiting); in Run()
|
D | monitor.h | 103 bool interruptShouldThrow, ThreadState why) 106 static ThreadState FetchState(const Thread* thread, 274 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
|
D | debugger.h | 45 static uint8_t ToJdwpThreadStatus(ThreadState state);
|
/art/test/708-jit-cache-churn/ |
D | jit.cc | 49 ScopedThreadSuspension selfSuspension(Thread::Current(), art::ThreadState::kNative); in Java_JitCacheChurnTest_removeJitCompiledMethod()
|
/art/test/2011-stack-walk-concurrent-instrument/ |
D | stack_walk_concurrent.cc | 35 ScopedThreadSuspension sts(Thread::Current(), ThreadState::kWaitingForDeoptimization); in WaitForInstrument()
|
/art/test/1985-structural-redefine-stack-scope/ |
D | stack_scope.cc | 56 ScopedThreadSuspension sts(soa.Self(), ThreadState::kNative); in Java_Main_NativeFieldScopeCheck()
|
/art/tools/tracefast-plugin/ |
D | tracefast.cc | 151 art::ThreadState::kWaitingForMethodTracingStart); in NextRuntimePhase() 162 art::ThreadState::kWaitingForMethodTracingStart); in ArtPlugin_Initialize()
|