harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r473077 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp
Date Thu, 09 Nov 2006 21:26:59 GMT
Author: gshimansky
Date: Thu Nov  9 13:26:58 2006
New Revision: 473077

URL: http://svn.apache.org/viewvc?view=rev&rev=473077
Log:
Applied HARMONY-2123 [drlvm][jvmti] Fix !hythread_is_suspend_enabled() assertion in jvmti_send_class_load_event()

Tests passed on gentoo linux and windows xp


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp?view=diff&rev=473077&r1=473076&r2=473077
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp Thu Nov  9
13:26:58 2006
@@ -1527,9 +1527,10 @@
     }
 
     JNIEnv *jni_env = p_TLS_vmthread->jni_env;
-    ObjectHandle hThread = oh_allocate_local_handle();
     ObjectHandle hClass = struct_Class_to_jclass(clss);
+
     tmn_suspend_disable();
+    ObjectHandle hThread = oh_allocate_local_handle();
     hThread->object = (Java_java_lang_Thread *)jthread_get_java_thread(hythread_self())->object;
     tmn_suspend_enable();
 



Mime
View raw message