Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiEnvBase.cpp @ 1144:9b9c1ee9b3f6
Merge
author | iveresov |
---|---|
date | Wed, 06 Jan 2010 22:21:39 -0800 |
parents | dcb15a6f342d 4ce7240d622c |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.cpp Wed Dec 23 03:12:16 2009 -0800 +++ b/src/share/vm/prims/jvmtiEnvBase.cpp Wed Jan 06 22:21:39 2010 -0800 @@ -527,7 +527,7 @@ JavaThread * JvmtiEnvBase::get_JavaThread(jthread jni_thread) { oop t = JNIHandles::resolve_external_guard(jni_thread); - if (t == NULL || !t->is_a(SystemDictionary::thread_klass())) { + if (t == NULL || !t->is_a(SystemDictionary::Thread_klass())) { return NULL; } // The following returns NULL if the thread has not yet run or is in @@ -1269,7 +1269,7 @@ for (int i = 0; i < _thread_count; ++i) { jthread jt = _thread_list[i]; oop thread_oop = JNIHandles::resolve_external_guard(jt); - if (thread_oop == NULL || !thread_oop->is_a(SystemDictionary::thread_klass())) { + if (thread_oop == NULL || !thread_oop->is_a(SystemDictionary::Thread_klass())) { set_result(JVMTI_ERROR_INVALID_THREAD); return; }