harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r542515 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
Date Tue, 29 May 2007 13:39:57 GMT
Author: gshimansky
Date: Tue May 29 06:39:56 2007
New Revision: 542515

URL: http://svn.apache.org/viewvc?view=rev&rev=542515
Log:
Applied HARMONY-3990 [drlvm][thread]agent test detects the thread event problem


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

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp?view=diff&rev=542515&r1=542514&r2=542515
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp Tue May 29 06:39:56 2007
@@ -524,12 +524,12 @@
         goto done;
     }
 
-    finalizer_threads_init(java_vm, jni_env);   /* added for NATIVE FINALIZER THREAD */
-    ref_enqueue_thread_init(java_vm, jni_env);  /* added for NATIVE REFERENCE ENQUEUE THREAD
*/
-
     // Send VM start event. JNI services are available now.
     // JVMTI services permited in the start phase are available as well.
     jvmti_send_vm_start_event(vm_env, jni_env);
+
+    finalizer_threads_init(java_vm, jni_env);   /* added for NATIVE FINALIZER THREAD */
+    ref_enqueue_thread_init(java_vm, jni_env);  /* added for NATIVE REFERENCE ENQUEUE THREAD
*/
 
     // The VM is fully initialized now.
     vm_env->vm_state = Global_Env::VM_RUNNING;



Mime
View raw message