You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2006/11/14 15:51:34 UTC

svn commit: r474809 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp

Author: gshimansky
Date: Tue Nov 14 06:51:32 2006
New Revision: 474809

URL: http://svn.apache.org/viewvc?view=rev&rev=474809
Log:
Applied HARMONY-2172 [drlvm][jvmti] ThreadEnd event is generated twice

Tests passed on windows and ubuntu


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

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp?view=diff&rev=474809&r1=474808&r2=474809
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp Tue Nov 14 06:51:32 2006
@@ -1548,9 +1548,6 @@
     java_thread = jthread_self();
     if (java_thread == NULL) return JNI_EDETACHED;
 
-    // Send thread end event.
-    jvmti_send_thread_start_end_event(0);
-
     status = jthread_detach(java_thread);
     
     return status == TM_ERROR_NONE ? JNI_OK : JNI_ERR;