Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 11 of 11) sorted by relevance

/art/runtime/
Dmonitor_android.cc72 std::string thread_name; in LogContentionEvent() local
73 self->GetThreadName(thread_name); in LogContentionEvent()
74 cp = EventLogWriteString(cp, thread_name.c_str(), thread_name.size()); in LogContentionEvent()
Druntime_linux.cc295 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignal() local
307 << "Thread: " << tid << " \"" << thread_name << "\"\n" in HandleUnexpectedSignal()
321 … << "* Process " << getpid() << " thread " << tid << " \"" << thread_name << "\"" in HandleUnexpectedSignal()
Dthread.cc375 Thread* Thread::Attach(const char* thread_name, bool as_daemon, jobject thread_group, in Attach() argument
380 LOG(ERROR) << "Thread attaching to non-existent runtime: " << thread_name; in Attach()
386 LOG(ERROR) << "Thread attaching while runtime is shutting down: " << thread_name; in Attach()
404 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach()
407 if (thread_name != nullptr) { in Attach()
408 self->tlsPtr_.name->assign(thread_name); in Attach()
409 ::art::SetThreadName(thread_name); in Attach()
431 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name)); in CreatePeer() local
432 if (name != nullptr && thread_name.get() == nullptr) { in CreatePeer()
451 thread_group, thread_name.get(), thread_priority, thread_is_daemon); in CreatePeer()
[all …]
Dutils.cc987 void SetThreadName(const char* thread_name) { in SetThreadName() argument
990 const char* s = thread_name; in SetThreadName()
999 int len = s - thread_name; in SetThreadName()
1001 s = thread_name; in SetThreadName()
1003 s = thread_name + len - 15; in SetThreadName()
1015 pthread_setname_np(thread_name); in SetThreadName()
1019 UNIMPLEMENTED(WARNING) << thread_name; in SetThreadName()
Dinstrumentation.cc306 std::string thread_name; in InstrumentationInstallStack() local
307 thread->GetThreadName(thread_name); in InstrumentationInstallStack()
308 LOG(INFO) << "Installing exit stubs in " << thread_name; in InstrumentationInstallStack()
407 std::string thread_name; in InstrumentationRestoreStack() local
408 thread->GetThreadName(thread_name); in InstrumentationRestoreStack()
409 LOG(INFO) << "Removing exit stubs in " << thread_name; in InstrumentationRestoreStack()
Dthread.h141 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
866 jobject thread_name, jint thread_priority)
Druntime.h199 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
Dutils.h474 void SetThreadName(const char* thread_name);
Druntime.cc1096 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
1098 return Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != NULL; in AttachCurrentThread()
Djni_internal.cc328 const char* thread_name = nullptr; in JII_AttachCurrentThread() local
337 thread_name = args->name; in JII_AttachCurrentThread()
341 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, !runtime->IsCompiler())) { in JII_AttachCurrentThread()
/art/runtime/jdwp/
Djdwp_event.cc797 std::string thread_name; in LogMatchingEventsAndThread() local
798 JdwpError error = Dbg::GetThreadName(thread_id, thread_name); in LogMatchingEventsAndThread()
800 thread_name = "<unknown>"; in LogMatchingEventsAndThread()
802 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name; in LogMatchingEventsAndThread()