- include options.h/statistics.h instead of main.h
authortwisti <none@none>
Wed, 30 Jun 2004 20:07:25 +0000 (20:07 +0000)
committertwisti <none@none>
Wed, 30 Jun 2004 20:07:25 +0000 (20:07 +0000)
- removed statistic exports

src/vm/tables.c
tables.c

index d9bab4cdad3598fce6fc955806e7499707d50bb4..197fd4ae29dc1b764ab367f4c94d783d91714fcb 100644 (file)
@@ -35,7 +35,7 @@
        - the heap
        - additional support functions
 
-   $Id: tables.c 1195 2004-06-20 19:44:46Z twisti $
+   $Id: tables.c 1240 2004-06-30 20:07:25Z twisti $
 
 */
 
 #include <sys/mman.h>
 #include <unistd.h>
 #include "types.h"
-#include "main.h"
+#include "options.h"
 #include "tables.h"
 #include "loader.h"
 #include "asmpart.h"
+#include "statistics.h"
 #include "threads/thread.h"
 #include "threads/locks.h"
 #include "toolbox/logging.h"
 #include "toolbox/memory.h"
 
 
-/* statistics */
-int count_utf_len = 0;         /* size of utf hash                  */
-int count_utf_new = 0;         /* calls of utf_new                  */
-int count_utf_new_found  = 0;  /* calls of utf_new with fast return */
-
 hashtable utf_hash;     /* hashtable for utf8-symbols */
 hashtable string_hash;  /* hashtable for javastrings  */
 hashtable class_hash;   /* hashtable for classes      */
index d9bab4cdad3598fce6fc955806e7499707d50bb4..197fd4ae29dc1b764ab367f4c94d783d91714fcb 100644 (file)
--- a/tables.c
+++ b/tables.c
@@ -35,7 +35,7 @@
        - the heap
        - additional support functions
 
-   $Id: tables.c 1195 2004-06-20 19:44:46Z twisti $
+   $Id: tables.c 1240 2004-06-30 20:07:25Z twisti $
 
 */
 
 #include <sys/mman.h>
 #include <unistd.h>
 #include "types.h"
-#include "main.h"
+#include "options.h"
 #include "tables.h"
 #include "loader.h"
 #include "asmpart.h"
+#include "statistics.h"
 #include "threads/thread.h"
 #include "threads/locks.h"
 #include "toolbox/logging.h"
 #include "toolbox/memory.h"
 
 
-/* statistics */
-int count_utf_len = 0;         /* size of utf hash                  */
-int count_utf_new = 0;         /* calls of utf_new                  */
-int count_utf_new_found  = 0;  /* calls of utf_new with fast return */
-
 hashtable utf_hash;     /* hashtable for utf8-symbols */
 hashtable string_hash;  /* hashtable for javastrings  */
 hashtable class_hash;   /* hashtable for classes      */