/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()
|
D | runtime_linux.cc | 39 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignalLinux() local 41 << "* Process " << getpid() << " thread " << tid << " \"" << thread_name in HandleUnexpectedSignalLinux()
|
D | instrumentation.cc | 373 std::string thread_name; in InstrumentationInstallStack() local 374 GetThread()->GetThreadName(thread_name); in InstrumentationInstallStack() 380 LOG(FATAL) << "While walking " << thread_name << " found unexpected non-runtime method" in InstrumentationInstallStack() 418 std::string thread_name; in InstrumentationInstallStack() local 419 thread->GetThreadName(thread_name); in InstrumentationInstallStack() 420 LOG(INFO) << "Installing exit stubs in " << thread_name; in InstrumentationInstallStack() 530 std::string thread_name; in InstrumentationRestoreStack() local 531 thread->GetThreadName(thread_name); in InstrumentationRestoreStack() 532 LOG(INFO) << "Removing exit stubs in " << thread_name; in InstrumentationRestoreStack()
|
D | runtime_callbacks_test.cc | 162 ScopedLocalRef<jobject> thread_name(env, in TEST_F() local 164 ASSERT_TRUE(thread_name.get() != nullptr); in TEST_F() 173 thread_name.get(), in TEST_F()
|
D | trace.cc | 975 std::string thread_name; in LogMethodTraceEvent() local 976 thread->GetThreadName(thread_name); in LogMethodTraceEvent() 981 Append2LE(buf2 + 5, static_cast<uint16_t>(thread_name.length())); in LogMethodTraceEvent() 983 WriteToBuf(reinterpret_cast<const uint8_t*>(thread_name.c_str()), thread_name.length()); in LogMethodTraceEvent()
|
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 | 182 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group, 185 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_peer); 1360 static Thread* Attach(const char* thread_name, 1371 jobject thread_name,
|
D | thread_list.cc | 1319 std::string thread_name; in Unregister() local 1320 self->GetThreadName(thread_name); in Unregister() 1323 LOG(ERROR) << "Request to unregister unattached thread " << thread_name << "\n" << os.str(); in Unregister()
|
D | runtime.h | 263 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
|
D | runtime.cc | 2117 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument 2120 Thread* self = Thread::Attach(thread_name, as_daemon, thread_group, create_peer); in AttachCurrentThread()
|
/art/libartbase/base/ |
D | utils.cc | 254 void SetThreadName(const char* thread_name) { in SetThreadName() argument 257 const char* s = thread_name; in SetThreadName() 266 int len = s - thread_name; in SetThreadName() 268 s = thread_name; in SetThreadName() 270 s = thread_name + len - 15; in SetThreadName() 282 pthread_setname_np(thread_name); in SetThreadName()
|
D | utils.h | 57 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() 133 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/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/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 232 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in CbVmInit() local 233 if (thread_name.get() == nullptr) { in CbVmInit() 255 thread_name.get()); in CbVmInit()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 453 const char* thread_name = nullptr; in AttachCurrentThreadInternal() local 462 thread_name = args->name; in AttachCurrentThreadInternal() 466 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 1408 std::string thread_name; in ForceEarlyReturn() local 1409 frames.target_->GetThreadName(thread_name); in ForceEarlyReturn() 1410 JVMTI_LOG(WARNING, env) << "PopFrame or force-return already pending on thread " << thread_name; in ForceEarlyReturn()
|