Home
last modified time | relevance | path

Searched refs:ThreadState (Results 1 – 25 of 48) sorted by relevance

12

/art/openjdkjvmti/
Dti_thread.cc105 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 …]
Dti_dump.cc51 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative); in SigQuit()
63 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
70 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
Dalloc_manager.cc68 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()
Devents-inl.h59 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 …]
Dti_phase.cc143 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
150 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
Dti_ddms.cc64 art::ScopedThreadStateChange stcs(self, art::ThreadState::kNative); in HandleChunk()
Dti_breakpoint.cc105 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
113 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
Dti_stack.cc271 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;
Dtransform.cc140 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action()
276 art::ScopedThreadStateChange stsc(self, art::ThreadState::kNative); in TransformSingleClassDirect()
Dti_field.cc114 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
122 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
Dti_search.cc210 art::ThreadState::kWaitingForDebuggerToAttach); in Register()
217 art::ThreadState::kWaitingForDebuggerToAttach); in Unregister()
/art/runtime/
Dthread_state.h28 enum ThreadState { enum
60 std::ostream& operator<<(std::ostream& os, ThreadState rhs);
Dscoped_thread_state_change.h44 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_;
Dthread-inl.h103 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()
Dmonitor_objects_stack_visitor.h65 virtual void VisitWaitingObject(ObjPtr<mirror::Object> obj, ThreadState state)
70 ThreadState state,
Dscoped_thread_state_change-inl.h33 inline ScopedThreadStateChange::ScopedThreadStateChange(Thread* self, ThreadState new_thread_state) in ScopedThreadStateChange()
120 inline ScopedThreadSuspension::ScopedThreadSuspension(Thread* self, ThreadState suspended_state) in ScopedThreadSuspension()
Dmonitor_objects_stack_visitor.cc46 ThreadState state = Monitor::FetchState(GetThread(), in VisitFrame()
Dthread.h237 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)
Dmonitor_test.cc105 ThreadState::kTimedWaiting); in Run()
150 ThreadState::kTimedWaiting); in Run()
195 ThreadState::kTimedWaiting); in Run()
Dmonitor.h103 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)
Ddebugger.h45 static uint8_t ToJdwpThreadStatus(ThreadState state);
/art/test/708-jit-cache-churn/
Djit.cc49 ScopedThreadSuspension selfSuspension(Thread::Current(), art::ThreadState::kNative); in Java_JitCacheChurnTest_removeJitCompiledMethod()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc35 ScopedThreadSuspension sts(Thread::Current(), ThreadState::kWaitingForDeoptimization); in WaitForInstrument()
/art/test/1985-structural-redefine-stack-scope/
Dstack_scope.cc56 ScopedThreadSuspension sts(soa.Self(), ThreadState::kNative); in Java_Main_NativeFieldScopeCheck()
/art/tools/tracefast-plugin/
Dtracefast.cc151 art::ThreadState::kWaitingForMethodTracingStart); in NextRuntimePhase()
162 art::ThreadState::kWaitingForMethodTracingStart); in ArtPlugin_Initialize()

12