Lines Matching defs:thread
78 // private static native Thread getCurrentThread();
79 // private static native Object[] getThreadInfo(Thread t);
83 jthread thread = nullptr;
84 jvmtiError result = jvmti_env->GetCurrentThread(&thread);
88 return thread;
92 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) {
96 jvmtiError result = jvmti_env->GetThreadInfo(thread, &info);
115 // The thread group;
140 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) {
142 jvmtiError result = jvmti_env->GetThreadState(thread, &state);
162 jobjectArray ret = CreateObjectArray(env, thread_count, "java/lang/Thread", callback);
170 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) {
172 jvmtiError result = jvmti_env->GetThreadLocalStorage(thread, &tls);
180 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread, jlong val) {
182 jvmtiError result = jvmti_env->SetThreadLocalStorage(thread, tls);
191 jthread thread,
197 jvmtiError result = jvmti_env->GetThreadInfo(thread, &info);
199 gEvents.push_back("Error getting thread info");
203 gEvents.push_back(android::base::StringPrintf("Thread(%s): %s",
215 jthread thread) {
216 ThreadEvent(jvmti_env, jni_env, thread, true);
221 jthread thread) {
222 ThreadEvent(jvmti_env, jni_env, thread, false);