* src/native/vm/gnu_java_lang_management_VMThreadMXBeanImpl.c: New file.
[cacao.git] / src / cacao / cacao.c
index 19bfeccdfdc7f7d8016cadb0ad5e3f9aededb20d..7bc89224e296c21080b614ce4890c7a5d8b4d7f6 100644 (file)
@@ -31,7 +31,7 @@
             Philipp Tomsich
             Christian Thalinger
 
-   $Id: cacao.c 4954 2006-05-25 21:59:49Z motse $
+   $Id: cacao.c 5195 2006-07-31 15:26:10Z twisti $
 
 */
 
@@ -311,6 +311,12 @@ int main(int argc, char **argv)
                jvmti_set_phase(JVMTI_PHASE_LIVE);
 #endif
 
+               /* increase total started thread count */
+
+               _Jv_jvm->total_started_thread_count++;
+
+               /* start the main thread */
+
                (void) vm_call_method(m, NULL, oa);
 
                /* exception occurred? */