/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | awt.m | 115 jclass threadClass = NULL; 119 threadClass = (*env)->FindClass(env, "java/lang/Thread"); 120 if (threadClass == NULL || (*env)->ExceptionCheck(env)) goto cleanup; 121 jmethodID currentThreadID = (*env)->GetStaticMethodID(env, threadClass, "currentThread", "()Ljava/lang/Thread;"); 123 jmethodID setName = (*env)->GetMethodID(env, threadClass, "setName", "(Ljava/lang/String;)V"); 126 curThread = (*env)->CallStaticObjectMethod(env, threadClass, currentThreadID); // AWT_THREADING Safe (known object) 134 if (threadClass != NULL) { 135 (*env)->DeleteLocalRef(env, threadClass);
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_util.c | 873 static jclass threadClass = NULL; local 881 if (threadClass == NULL) { 884 if (threadClass == NULL) { 886 threadClass = (*env)->NewGlobalRef(env, tc); 887 if (threadClass != NULL) { 889 threadClass, 896 threadClass = NULL; 902 } /* threadClass == NULL*/ 905 env, threadClass, currentThreadMethodID); 914 static jclass threadClass local [all...] |
/openjdk7/hotspot/agent/src/share/native/jvmdi/ |
H A D | sa.cpp | 526 jclass threadClass = env->FindClass("java/lang/Thread"); local 527 if (threadClass == NULL) stop("Unable to find class java/lang/Thread"); 530 jmethodID ctor = env->GetMethodID(threadClass, "<init>", "(Ljava/lang/String;)V"); 533 jthread thr = (jthread) env->NewObject(threadClass, ctor, threadName);
|
/openjdk7/jdk/src/share/javavm/export/ |
H A D | jvm.h | 246 JVM_Yield(JNIEnv *env, jclass threadClass); 249 JVM_Sleep(JNIEnv *env, jclass threadClass, jlong millis); 252 JVM_CurrentThread(JNIEnv *env, jclass threadClass); 264 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 277 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | VMPanel.java | 250 String threadClass = Thread.currentThread().getClass().getName(); 251 if (threadClass.equals("java.awt.EventDispatchThread")) {
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvm.h | 268 JVM_Yield(JNIEnv *env, jclass threadClass); 271 JVM_Sleep(JNIEnv *env, jclass threadClass, jlong millis); 274 JVM_CurrentThread(JNIEnv *env, jclass threadClass); 286 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 299 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads);
|
H A D | jvm.cpp | 2891 JVM_ENTRY(void, JVM_Yield(JNIEnv *env, jclass threadClass)) 2909 JVM_ENTRY(void, JVM_Sleep(JNIEnv* env, jclass threadClass, jlong millis)) 2982 JVM_ENTRY(jobject, JVM_CurrentThread(JNIEnv* env, jclass threadClass)) 3077 JVM_ENTRY(jboolean, JVM_HoldsLock(JNIEnv* env, jclass threadClass, jobject obj)) 4264 JVM_ENTRY(jobjectArray, JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads))
|
/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.cpp | 66 static jclass threadClass = NULL; variable 216 return env->CallStaticObjectMethod(threadClass, currentThreadMethodID); 360 threadClass = (jclass)env->NewGlobalRef(tc); 361 DASSERT(threadClass != NULL); 363 env->GetStaticMethodID(threadClass,
|
/openjdk7/jdk/src/share/back/ |
H A D | util.h | 96 jclass threadClass; member in struct:__anon513
|
H A D | util.c | 207 saveGlobalRef(env, localThreadClass, &(gdata->threadClass)); 216 getMethod(env, gdata->threadClass, 219 getMethod(env, gdata->threadClass, "setDaemon", "(Z)V"); 221 getMethod(env, gdata->threadClass, "resume", "()V"); 312 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass)) { 864 (env, gdata->threadClass, gdata->threadConstructor, 1592 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass);
|
H A D | threadControl.c | 575 if (gdata->threadClass==NULL) { 773 gdata->threadClass, gdata->threadResume, resumeLocation);
|