Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 10 of 10) 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()
Dinstrumentation.cc157 std::string thread_name; in InstrumentationInstallStack() local
158 thread->GetThreadName(thread_name); in InstrumentationInstallStack()
159 LOG(INFO) << "Installing exit stubs in " << thread_name; in InstrumentationInstallStack()
244 std::string thread_name; in InstrumentationRestoreStack() local
245 thread->GetThreadName(thread_name); in InstrumentationRestoreStack()
246 LOG(INFO) << "Removing exit stubs in " << thread_name; in InstrumentationRestoreStack()
Druntime_linux.cc251 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignal() local
263 << "Thread: " << tid << " \"" << thread_name << "\"\n" in HandleUnexpectedSignal()
269 … << "* Process " << getpid() << " thread " << tid << " \"" << thread_name << "\"" in HandleUnexpectedSignal()
Dutils.cc922 void SetThreadName(const char* thread_name) { in SetThreadName() argument
925 const char* s = thread_name; in SetThreadName()
934 int len = s - thread_name; in SetThreadName()
936 s = thread_name; in SetThreadName()
938 s = thread_name + len - 15; in SetThreadName()
950 pthread_setname_np(thread_name); in SetThreadName()
954 UNIMPLEMENTED(WARNING) << thread_name; in SetThreadName()
Dthread.cc163 SirtRef<mirror::String> thread_name(self, self->GetThreadName(soa)); in CreateCallback() local
164 self->SetThreadName(thread_name->ToModifiedUtf8().c_str()); in CreateCallback()
315 Thread* Thread::Attach(const char* thread_name, bool as_daemon, jobject thread_group, in Attach() argument
320 LOG(ERROR) << "Thread attaching to non-existent runtime: " << thread_name; in Attach()
326 LOG(ERROR) << "Thread attaching while runtime is shutting down: " << thread_name; in Attach()
344 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach()
347 if (thread_name != NULL) { in Attach()
348 self->name_->assign(thread_name); in Attach()
349 ::art::SetThreadName(thread_name); in Attach()
364 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name)); in CreatePeer() local
[all …]
Dutils.h336 void SetThreadName(const char* thread_name);
Druntime.h247 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
Druntime.cc1118 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
1120 bool success = Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != NULL; in AttachCurrentThread()
1121 if (thread_name == NULL) { in AttachCurrentThread()
Dthread.h101 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
Djni_internal.cc423 const char* thread_name = NULL; in JII_AttachCurrentThread() local
432 thread_name = args->name; in JII_AttachCurrentThread()
436 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, !runtime->IsCompiler())) { in JII_AttachCurrentThread()