/art/runtime/ |
D | monitor_android.cc | 62 std::string thread_name; in LogContentionEvent() local 63 self->GetThreadName(thread_name); in LogContentionEvent() 64 ctx << thread_name; in LogContentionEvent() 119 thread_name.c_str()); in LogContentionEvent()
|
D | runtime_linux.cc | 39 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignalLinux() local 41 << "* Process " << getpid() << " thread " << tid << " \"" << thread_name in HandleUnexpectedSignalLinux()
|
D | thread.cc | 861 std::string thread_name; in CreateNativeThread() local 863 thread_name = java_name->ToModifiedUtf8(); in CreateNativeThread() 865 thread_name = "(Unnamed)"; in CreateNativeThread() 868 VLOG(threads) << "Creating native thread for " << thread_name; in CreateNativeThread() 1006 Thread* Thread::Attach(const char* thread_name, in Attach() argument 1014 ((thread_name != nullptr) ? thread_name : "(Unnamed)"); in Attach() 1023 ((thread_name != nullptr) ? thread_name : "(Unnamed)"); in Attach() 1050 if (thread_name != nullptr) { in Attach() 1051 VLOG(threads) << "Attaching thread " << thread_name; in Attach() 1067 Thread* Thread::Attach(const char* thread_name, in Attach() argument [all …]
|
D | instrumentation.cc | 551 std::string thread_name; in InstrumentationInstallStack() local 552 thread->GetThreadName(thread_name); in InstrumentationInstallStack() 553 LOG(INFO) << "Installing exit stubs in " << thread_name; in InstrumentationInstallStack() 626 std::string thread_name; in ReportMethodEntryForOnStackMethods() local 627 thread->GetThreadName(thread_name); in ReportMethodEntryForOnStackMethods() 628 LOG(INFO) << "Updating DexPcMoveEvents on shadow frames on stack " << thread_name; in ReportMethodEntryForOnStackMethods() 678 std::string thread_name; in InstrumentationRestoreStack() local 679 thread->GetThreadName(thread_name); in InstrumentationRestoreStack() 680 LOG(INFO) << "Restoring stack for " << thread_name; in InstrumentationRestoreStack()
|
D | runtime_callbacks_test.cc | 171 Handle<mirror::String> thread_name = hs.NewHandle( in TEST_F() local 173 ASSERT_TRUE(thread_name != nullptr); in TEST_F() 179 hs, self, thread_group, thread_name, kMinThreadPriority, /*daemon=*/ false); in TEST_F()
|
D | trace.cc | 1374 std::string thread_name; in RecordThreadInfo() local 1375 thread->GetThreadName(thread_name); in RecordThreadInfo() 1380 if (thread_name.compare("Shutdown thread") == 0) { in RecordThreadInfo() 1386 threads_list_.Overwrite(GetThreadEncoding(thread->GetTid()), thread_name); in RecordThreadInfo() 1400 DCHECK(thread_name.length() < (1 << 16)); in RecordThreadInfo() 1401 Append2LE(header + 5, static_cast<uint16_t>(thread_name.length())); in RecordThreadInfo() 1404 !trace_file_->WriteFully(reinterpret_cast<const uint8_t*>(thread_name.c_str()), in RecordThreadInfo() 1405 thread_name.length())) { in RecordThreadInfo()
|
D | runtime_common.cc | 398 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignalCommonDump() local 411 << "Thread: " << tid << " \"" << thread_name << "\"" << std::endl in HandleUnexpectedSignalCommonDump()
|
D | thread.h | 273 static Thread* Attach(const char* thread_name, 279 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_peer); 1654 static Thread* Attach(const char* thread_name, 1665 ObjPtr<mirror::String> thread_name,
|
D | thread_list.cc | 1471 std::string thread_name; in Unregister() local 1472 self->GetThreadName(thread_name); in Unregister() 1475 LOG(FATAL) << "Request to unregister unattached thread " << thread_name << "\n" << os.str(); in Unregister()
|
D | runtime.h | 305 EXPORT bool AttachCurrentThread(const char* thread_name,
|
/art/test/2246-trace-v2/ |
D | dump_trace.cc | 94 void PrintTraceEntry(const std::string& thread_name, in PrintTraceEntry() argument 133 entry.append(thread_name); in PrintTraceEntry() 193 std::string thread_name = thread_map[thread_id]; in ProcessTraceEntries() local 194 bool print_thread_events = (thread_name.compare(thread_name_filter) == 0); in ProcessTraceEntries() 199 PrintTraceEntry(thread_name, in ProcessTraceEntries() 221 PrintTraceEntry(thread_name, in ProcessTraceEntries() 247 const char* thread_name = env->GetStringUTFChars(threadName, nullptr); in Java_Main_dumpTrace() local 297 thread_name, in Java_Main_dumpTrace() 312 env->ReleaseStringUTFChars(threadName, thread_name); in Java_Main_dumpTrace()
|
/art/libartbase/base/ |
D | utils.cc | 286 void SetThreadName(const char* thread_name) { in SetThreadName() argument 289 const char* s = thread_name; in SetThreadName() 298 int len = s - thread_name; in SetThreadName() 300 s = thread_name; in SetThreadName() 302 s = thread_name + len - 15; in SetThreadName() 314 pthread_setname_np(thread_name); in SetThreadName()
|
D | utils.h | 70 void SetThreadName(const char* thread_name);
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in Java_art_Test931_testAgentThread() local 96 if (thread_name.get() == nullptr) { in Java_art_Test931_testAgentThread() 129 thread.get(), thread_klass.get(), initID, thread_group.get(), thread_name.get()); in Java_art_Test931_testAgentThread()
|
/art/test/912-classes/ |
D | classes.cc | 305 std::string thread_name = GetThreadName(jenv, jni_env, thread); in ClassLoadCallback() local 306 if (thread_name == "") { in ClassLoadCallback() 309 if (thread_name_filter_ != "" && thread_name_filter_ != thread_name) { in ClassLoadCallback() 316 thread_name.c_str())); in ClassLoadCallback() 327 std::string thread_name = GetThreadName(jenv, jni_env, thread); in ClassPrepareCallback() local 328 if (thread_name == "") { in ClassPrepareCallback() 331 if (thread_name_filter_ != "" && thread_name_filter_ != thread_name) { in ClassPrepareCallback() 339 thread_name.c_str(), in ClassPrepareCallback() 391 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name_str.c_str())); in RunEventThread() local 392 CHECK(thread_name.get() != nullptr); in RunEventThread() [all …]
|
/art/test/924-threads/src/art/ |
D | Test924.java | 340 private static List<String> filterForThread(Object[] thread_messages, String thread_name) { in filterForThread() argument 345 if (message.startsWith("Thread(" + thread_name + ")")) { in filterForThread() 370 String thread_name = "EventTestThread"; in doTestEvents() local 371 Thread t = new Thread(r, thread_name); in doTestEvents() 378 System.out.println(filterForThread(getThreadEventMessages(), thread_name).toString()); in doTestEvents() 383 System.out.println(filterForThread(getThreadEventMessages(), thread_name).toString()); in doTestEvents() 387 System.out.println(filterForThread(getThreadEventMessages(), thread_name).toString()); in doTestEvents()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 83 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("JVMTI_THREAD-Test1919")); in CreateAgentThread() local 84 CHECK(thread_name.get() != nullptr); in CreateAgentThread() 95 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in CreateAgentThread()
|
/art/test/1971-multi-force-early-return/src/art/ |
D | Test1971.java | 92 String thread_name = Thread.currentThread().getName(); in runTest() local 93 con.accept("Thread: " + thread_name + " method returned: " + targetMethod()); in runTest()
|
/art/libartpalette/include/palette/ |
D | palette_method_list.h | 63 const char* thread_name) \
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 230 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in CbVmInit() local 231 if (thread_name.get() == nullptr) { in CbVmInit() 253 thread_name.get()); in CbVmInit()
|
/art/libartpalette/apex/ |
D | palette.cc | 234 const char* thread_name) { in PaletteReportLockContention() argument 246 thread_name); in PaletteReportLockContention()
|
/art/libartpalette/system/ |
D | palette_fake.cc | 140 [[maybe_unused]] const char* thread_name) { in PaletteReportLockContention() argument
|
/art/tools/jvmti-agents/simple-profile/ |
D | simple_profile.cc | 178 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name.c_str())); in FinishInitialization() local 179 CHECK_NE(thread_name.get(), nullptr); in FinishInitialization() 189 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in FinishInitialization()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 470 const char* thread_name = nullptr; in AttachCurrentThreadInternal() local 479 thread_name = args->name; in AttachCurrentThreadInternal() 483 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 1409 std::string thread_name; in ForceEarlyReturn() local 1410 frames.target_->GetThreadName(thread_name); in ForceEarlyReturn() 1411 JVMTI_LOG(WARNING, env) << "PopFrame or force-return already pending on thread " << thread_name; in ForceEarlyReturn()
|