Searched refs:thread_name (Results 1 - 13 of 13) sorted by relevance

/art/runtime/
H A Dmonitor_android.cc72 std::string thread_name;
73 self->GetThreadName(thread_name);
74 cp = EventLogWriteString(cp, thread_name.c_str(), thread_name.size());
H A Druntime_linux.cc328 std::string thread_name(GetThreadName(tid));
340 << "Thread: " << tid << " \"" << thread_name << "\"\n"
358 << "* Process " << getpid() << " thread " << tid << " \"" << thread_name
H A Dinstrumentation.cc273 std::string thread_name; local
274 thread->GetThreadName(thread_name);
275 LOG(INFO) << "Installing exit stubs in " << thread_name;
375 std::string thread_name; local
376 thread->GetThreadName(thread_name);
377 LOG(INFO) << "Removing exit stubs in " << thread_name;
H A Dthread.cc513 Thread* Thread::Attach(const char* thread_name, bool as_daemon, jobject thread_group, argument
517 LOG(ERROR) << "Thread attaching to non-existent runtime: " << thread_name;
524 LOG(ERROR) << "Thread attaching while runtime is shutting down: " << thread_name;
548 self->CreatePeer(thread_name, as_daemon, thread_group);
551 if (thread_name != nullptr) {
552 self->tlsPtr_.name->assign(thread_name);
553 ::art::SetThreadName(thread_name);
575 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name));
577 if (name != nullptr && thread_name.get() == nullptr) {
596 thread_group, thread_name
626 InitPeer(ScopedObjectAccess& soa, jboolean thread_is_daemon, jobject thread_group, jobject thread_name, jint thread_priority) argument
[all...]
H A Dutils.cc951 void SetThreadName(const char* thread_name) { argument
954 const char* s = thread_name;
963 int len = s - thread_name;
965 s = thread_name;
967 s = thread_name + len - 15;
979 pthread_setname_np(thread_name);
H A Dtrace.cc961 std::string thread_name; local
962 thread->GetThreadName(thread_name);
967 Append2LE(buf2 + 5, static_cast<uint16_t>(thread_name.length()));
969 WriteToBuf(reinterpret_cast<const uint8_t*>(thread_name.c_str()), thread_name.length());
H A Dutils.h220 void SetThreadName(const char* thread_name);
H A Djava_vm_ext.cc328 const char* thread_name = nullptr; local
337 thread_name = args->name;
341 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group,
H A Dthread_list.cc1136 std::string thread_name; local
1137 self->GetThreadName(thread_name);
1140 LOG(ERROR) << "Request to unregister unattached thread " << thread_name << "\n" << os.str();
H A Dthread.h154 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
959 jobject thread_name, jint thread_priority)
H A Druntime.h222 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
H A Druntime.cc1311 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, argument
1313 return Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != nullptr;
/art/runtime/jdwp/
H A Djdwp_event.cc793 std::string thread_name; local
794 JdwpError error = Dbg::GetThreadName(thread_id, &thread_name);
796 thread_name = "<unknown>";
798 VLOG(jdwp) << StringPrintf(" thread=%#" PRIx64, thread_id) << " " << thread_name;

Completed in 188 milliseconds