Home
last modified time | relevance | path

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

/ark/runtime_core/runtime/tests/
Dthread_test.cpp58 void BeginToStateAndEnd(MTManagedThread::ThreadState state) const in BeginToStateAndEnd()
60 if (state == MTManagedThread::ThreadState::NATIVE_CODE) { in BeginToStateAndEnd()
64 } else if (state == MTManagedThread::ThreadState::MANAGED_CODE) { in BeginToStateAndEnd()
156 …ASSERT_DEATH(BeginToStateAndEnd(MTManagedThread::ThreadState::NATIVE_CODE), "last frame is: NATIVE… in TEST_F()
158 BeginToStateAndEnd(MTManagedThread::ThreadState::MANAGED_CODE); in TEST_F()
164 BeginToStateAndEnd(MTManagedThread::ThreadState::NATIVE_CODE); in TEST_F()
166 …ASSERT_DEATH(BeginToStateAndEnd(MTManagedThread::ThreadState::MANAGED_CODE), "last frame is: MANAG… in TEST_F()
/ark/runtime_core/runtime/
Dthread.cpp293 PandaString MTManagedThread::LogThreadStack(ThreadState new_state) const in LogThreadStack()
296 static std::unordered_map<ThreadState, std::string> thread_state_to_string_map = { in LogThreadStack()
297 {ThreadState::NATIVE_CODE, "NATIVE_CODE"}, {ThreadState::MANAGED_CODE, "MANAGED_CODE"}}; in LogThreadStack()
307 PandaStack<ThreadState> copy_stack(thread_frame_states_); in LogThreadStack()
634 thread_frame_states_.~PandaStack<ThreadState>(); in FreeInternalMemory()
/ark/runtime_core/runtime/include/
Dmtmanaged_thread.h29 enum ThreadState : uint8_t { NATIVE_CODE = 0, MANAGED_CODE = 1 }; enum
453 PandaString LogThreadStack(ThreadState new_state) const;
487 PandaStack<ThreadState> thread_frame_states_;