diff options
Diffstat (limited to 'runtime/thread.cc')
-rw-r--r-- | runtime/thread.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index 1283cf0e96..17f5513967 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -1394,6 +1394,7 @@ void Thread::DumpState(std::ostream& os, const Thread* thread, pid_t tid) { os << " | group=\"" << group_name << "\"" << " sCount=" << thread->tls32_.suspend_count << " dsCount=" << thread->tls32_.debug_suspend_count + << " flags=" << thread->tls32_.state_and_flags.as_struct.flags << " obj=" << reinterpret_cast<void*>(thread->tlsPtr_.opeer) << " self=" << reinterpret_cast<const void*>(thread) << "\n"; } @@ -3175,4 +3176,8 @@ void Thread::SetException(ObjPtr<mirror::Throwable> new_exception) { tlsPtr_.exception = new_exception.Ptr(); } +bool Thread::IsAotCompiler() { + return Runtime::Current()->IsAotCompiler(); +} + } // namespace art |