src/toolbox/logging.hpp: Switched to C++.
--HG--
rename : src/toolbox/logging.c => src/toolbox/logging.cpp
rename : src/toolbox/logging.h => src/toolbox/logging.hpp
#include "heap.h"
#include "mark.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
/* Threading macros ***********************************************************/
#include "region.h"
#include "rootset.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "region.h"
#include "rootset.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/finalizer.hpp"
#include "vm/rt-timing.h"
#include "mm/memory.h"
#include "native/include/java_lang_String.h"
#include "native/llni.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/options.h"
#include "mark.h"
#include "rootset.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/linker.hpp"
#include "region.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
/* region_init *****************************************************************
#include "threads/threadlist.h"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/jit/replace.hpp"
#include "mm/gc.hpp"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "mm/gc.hpp"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/global.h"
#include "threads/lock.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/string.hpp"
#include "threads/mutex.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/jit/asmpart.h"
#include "vm/string.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "threads/mutex.h"
#include "threads/thread.hpp"
#include "vm/class.hpp"
#include "vm/classcache.hpp"
#include "mm/gc.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/options.h"
#include "vm/string.hpp"
#include "mm/memory.h"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/options.h"
#include "vm/vm.hpp"
#include "threads/mutex.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/javaobjects.hpp"
#include "native/include/java_lang_Object.h"
#include "native/include/gnu_classpath_jdwp_VMFrame.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
/*
#include <stdint.h>
#include <string.h>
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "native/jni.hpp"
#include "native/include/java_lang_Thread.h"
#include "native/include/java_nio_ByteBuffer.h"
# include "native/vm/include/gnu_java_lang_management_VMClassLoadingMXBeanImpl.h"
#endif
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/classcache.hpp"
#include "vm/utf8.h"
# include "native/vm/include/gnu_java_lang_management_VMThreadMXBeanImpl.h"
#endif
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/classcache.hpp"
#include "vm/utf8.h"
# include "native/vm/include/java_lang_VMClassLoader.h"
#endif
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "toolbox/list.hpp"
#if defined(ENABLE_ASSERTION)
# include "native/vm/include/java_lang_management_VMManagementFactory.h"
#endif
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/globals.hpp"
#include "vm/vm.hpp"
#include "native/vm/reflection.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/class.hpp"
#include "vm/exceptions.hpp"
#include "threads/lock.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "toolbox/list.hpp"
#include "vm/array.hpp"
#include "native/vm/openjdk/management.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/os.hpp"
#include "vm/vm.hpp"
#include "threads/threadlist.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "threads/thread.hpp"
#include "toolbox/list.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/stacktrace.hpp"
hashtable.c \
hashtable.h \
list.hpp \
- logging.c \
- logging.h \
+ logging.cpp \
+ logging.hpp \
set.h \
set.c \
util.c \
#include "threads/mutex.hpp"
#include "toolbox/avl.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/vm.hpp"
+++ /dev/null
-/* src/toolbox/logging.c - contains logging functions
-
- Copyright (C) 1996-2005, 2006, 2007, 2008
- CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
-
- This file is part of CACAO.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-
-*/
-
-
-#include "config.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "vm/types.h"
-
-#include "mm/memory.h"
-
-#include "threads/thread.hpp"
-
-#include "toolbox/logging.h"
-#include "toolbox/util.h"
-
-#include "vm/global.h"
-
-#if defined(ENABLE_STATISTICS)
-# include "vm/statistics.h"
-#endif
-
-
-/***************************************************************************
- LOG FILE HANDLING
-***************************************************************************/
-
-FILE *logfile = NULL;
-
-
-void log_init(const char *fname)
-{
- if (fname) {
- if (fname[0]) {
- logfile = fopen(fname, "w");
- }
- }
-}
-
-
-/* log_start *******************************************************************
-
- Writes the preleading LOG: text to the protocol file (if opened) or
- to stdout.
-
-*******************************************************************************/
-
-void log_start(void)
-{
-#if defined(ENABLE_THREADS)
- ptrint tid;
-
- tid = threads_get_current_tid();
-#endif
-
- if (logfile) {
-#if defined(ENABLE_THREADS)
-# if SIZEOF_VOID_P == 8
- fprintf(logfile, "[0x%016lx] ", tid );
-# else
- fprintf(logfile, "[0x%08x] ", tid);
-# endif
-#endif
- }
- else {
-#if defined(ENABLE_THREADS)
-# if SIZEOF_VOID_P == 8
- fprintf(stdout, "LOG: [0x%016lx] ", tid);
-# else
- fprintf(stdout, "LOG: [0x%08x] ", tid);
-# endif
-#else
- fputs("LOG: ", stdout);
-#endif
- }
-}
-
-
-/* log_vprint ******************************************************************
-
- Writes logtext to the protocol file (if opened) or to stdout.
-
-*******************************************************************************/
-
-void log_vprint(const char *text, va_list ap)
-{
- if (logfile)
- vfprintf(logfile, text, ap);
- else
- vfprintf(stdout, text, ap);
-}
-
-
-/* log_print *******************************************************************
-
- Writes logtext to the protocol file (if opened) or to stdout.
-
-*******************************************************************************/
-
-void log_print(const char *text, ...)
-{
- va_list ap;
-
- va_start(ap, text);
- log_vprint(text, ap);
- va_end(ap);
-}
-
-
-/* log_println *****************************************************************
-
- Writes logtext to the protocol file (if opened) or to stdout with a
- trailing newline.
-
-*******************************************************************************/
-
-void log_println(const char *text, ...)
-{
- va_list ap;
-
- log_start();
-
- va_start(ap, text);
- log_vprint(text, ap);
- va_end(ap);
-
- log_finish();
-}
-
-
-/* log_finish ******************************************************************
-
- Finishes a logtext line with trailing newline and a fflush.
-
-*******************************************************************************/
-
-void log_finish(void)
-{
- if (logfile) {
- fputs("\n", logfile);
- fflush(logfile);
- }
- else {
- fputs("\n", stdout);
- fflush(stdout);
- }
-}
-
-
-/* log_message_utf *************************************************************
-
- Outputs log text like this:
-
- LOG: Creating class: java/lang/Object
-
-*******************************************************************************/
-
-void log_message_utf(const char *msg, utf *u)
-{
- char *buf;
- s4 len;
-
- len = strlen(msg) + utf_bytes(u) + strlen("0");
-
- buf = MNEW(char, len);
-
- strcpy(buf, msg);
- utf_cat(buf, u);
-
- log_text(buf);
-
- MFREE(buf, char, len);
-}
-
-
-/* log_message_class ***********************************************************
-
- Outputs log text like this:
-
- LOG: Loading class: java/lang/Object
-
-*******************************************************************************/
-
-void log_message_class(const char *msg, classinfo *c)
-{
- log_message_utf(msg, c->name);
-}
-
-
-/* log_message_class_message_class *********************************************
-
- Outputs log text like this:
-
- LOG: Initialize super class java/lang/Object from java/lang/VMThread
-
-*******************************************************************************/
-
-void log_message_class_message_class(const char *msg1, classinfo *c1,
- const char *msg2, classinfo *c2)
-{
- char *buf;
- s4 len;
-
- len =
- strlen(msg1) + utf_bytes(c1->name) +
- strlen(msg2) + utf_bytes(c2->name) + strlen("0");
-
- buf = MNEW(char, len);
-
- strcpy(buf, msg1);
- utf_cat_classname(buf, c1->name);
- strcat(buf, msg2);
- utf_cat_classname(buf, c2->name);
-
- log_text(buf);
-
- MFREE(buf, char, len);
-}
-
-
-/* log_message_method **********************************************************
-
- Outputs log text like this:
-
- LOG: Compiling: java.lang.Object.clone()Ljava/lang/Object;
-
-*******************************************************************************/
-
-void log_message_method(const char *msg, methodinfo *m)
-{
- char *buf;
- s4 len;
-
- len = strlen(msg) + utf_bytes(m->clazz->name) + strlen(".") +
- utf_bytes(m->name) + utf_bytes(m->descriptor) + strlen("0");
-
- buf = MNEW(char, len);
-
- strcpy(buf, msg);
- utf_cat_classname(buf, m->clazz->name);
- strcat(buf, ".");
- utf_cat(buf, m->name);
- utf_cat(buf, m->descriptor);
-
- log_text(buf);
-
- MFREE(buf, char, len);
-}
-
-
-/*
- * These are local overrides for various environment variables in Emacs.
- * Please do not remove this and leave it at the end of the file, where
- * Emacs will automagically detect them.
- * ---------------------------------------------------------------------
- * Local variables:
- * mode: c
- * indent-tabs-mode: t
- * c-basic-offset: 4
- * tab-width: 4
- * End:
- * vim:noexpandtab:sw=4:ts=4:
- */
--- /dev/null
+/* src/toolbox/logging.c - contains logging functions
+
+ Copyright (C) 1996-2005, 2006, 2007, 2008
+ CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
+
+ This file is part of CACAO.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+*/
+
+
+#include "config.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "vm/types.h"
+
+#include "mm/memory.h"
+
+#include "threads/thread.hpp"
+
+#include "toolbox/logging.hpp"
+#include "toolbox/util.h"
+
+#include "vm/global.h"
+
+#if defined(ENABLE_STATISTICS)
+# include "vm/statistics.h"
+#endif
+
+
+/***************************************************************************
+ LOG FILE HANDLING
+***************************************************************************/
+
+FILE *logfile = NULL;
+
+
+void log_init(const char *fname)
+{
+ if (fname) {
+ if (fname[0]) {
+ logfile = fopen(fname, "w");
+ }
+ }
+}
+
+
+/* log_start *******************************************************************
+
+ Writes the preleading LOG: text to the protocol file (if opened) or
+ to stdout.
+
+*******************************************************************************/
+
+void log_start(void)
+{
+#if defined(ENABLE_THREADS)
+ ptrint tid;
+
+ tid = threads_get_current_tid();
+#endif
+
+ if (logfile) {
+#if defined(ENABLE_THREADS)
+# if SIZEOF_VOID_P == 8
+ fprintf(logfile, "[0x%016lx] ", tid );
+# else
+ fprintf(logfile, "[0x%08x] ", tid);
+# endif
+#endif
+ }
+ else {
+#if defined(ENABLE_THREADS)
+# if SIZEOF_VOID_P == 8
+ fprintf(stdout, "LOG: [0x%016lx] ", tid);
+# else
+ fprintf(stdout, "LOG: [0x%08x] ", tid);
+# endif
+#else
+ fputs("LOG: ", stdout);
+#endif
+ }
+}
+
+
+/* log_vprint ******************************************************************
+
+ Writes logtext to the protocol file (if opened) or to stdout.
+
+*******************************************************************************/
+
+void log_vprint(const char *text, va_list ap)
+{
+ if (logfile)
+ vfprintf(logfile, text, ap);
+ else
+ vfprintf(stdout, text, ap);
+}
+
+
+/* log_print *******************************************************************
+
+ Writes logtext to the protocol file (if opened) or to stdout.
+
+*******************************************************************************/
+
+void log_print(const char *text, ...)
+{
+ va_list ap;
+
+ va_start(ap, text);
+ log_vprint(text, ap);
+ va_end(ap);
+}
+
+
+/* log_println *****************************************************************
+
+ Writes logtext to the protocol file (if opened) or to stdout with a
+ trailing newline.
+
+*******************************************************************************/
+
+void log_println(const char *text, ...)
+{
+ va_list ap;
+
+ log_start();
+
+ va_start(ap, text);
+ log_vprint(text, ap);
+ va_end(ap);
+
+ log_finish();
+}
+
+
+/* log_finish ******************************************************************
+
+ Finishes a logtext line with trailing newline and a fflush.
+
+*******************************************************************************/
+
+void log_finish(void)
+{
+ if (logfile) {
+ fputs("\n", logfile);
+ fflush(logfile);
+ }
+ else {
+ fputs("\n", stdout);
+ fflush(stdout);
+ }
+}
+
+
+/* log_message_utf *************************************************************
+
+ Outputs log text like this:
+
+ LOG: Creating class: java/lang/Object
+
+*******************************************************************************/
+
+void log_message_utf(const char *msg, utf *u)
+{
+ char *buf;
+ s4 len;
+
+ len = strlen(msg) + utf_bytes(u) + strlen("0");
+
+ buf = MNEW(char, len);
+
+ strcpy(buf, msg);
+ utf_cat(buf, u);
+
+ log_text(buf);
+
+ MFREE(buf, char, len);
+}
+
+
+/* log_message_class ***********************************************************
+
+ Outputs log text like this:
+
+ LOG: Loading class: java/lang/Object
+
+*******************************************************************************/
+
+void log_message_class(const char *msg, classinfo *c)
+{
+ log_message_utf(msg, c->name);
+}
+
+
+/* log_message_class_message_class *********************************************
+
+ Outputs log text like this:
+
+ LOG: Initialize super class java/lang/Object from java/lang/VMThread
+
+*******************************************************************************/
+
+void log_message_class_message_class(const char *msg1, classinfo *c1,
+ const char *msg2, classinfo *c2)
+{
+ char *buf;
+ s4 len;
+
+ len =
+ strlen(msg1) + utf_bytes(c1->name) +
+ strlen(msg2) + utf_bytes(c2->name) + strlen("0");
+
+ buf = MNEW(char, len);
+
+ strcpy(buf, msg1);
+ utf_cat_classname(buf, c1->name);
+ strcat(buf, msg2);
+ utf_cat_classname(buf, c2->name);
+
+ log_text(buf);
+
+ MFREE(buf, char, len);
+}
+
+
+/* log_message_method **********************************************************
+
+ Outputs log text like this:
+
+ LOG: Compiling: java.lang.Object.clone()Ljava/lang/Object;
+
+*******************************************************************************/
+
+void log_message_method(const char *msg, methodinfo *m)
+{
+ char *buf;
+ s4 len;
+
+ len = strlen(msg) + utf_bytes(m->clazz->name) + strlen(".") +
+ utf_bytes(m->name) + utf_bytes(m->descriptor) + strlen("0");
+
+ buf = MNEW(char, len);
+
+ strcpy(buf, msg);
+ utf_cat_classname(buf, m->clazz->name);
+ strcat(buf, ".");
+ utf_cat(buf, m->name);
+ utf_cat(buf, m->descriptor);
+
+ log_text(buf);
+
+ MFREE(buf, char, len);
+}
+
+
+/*
+ * These are local overrides for various environment variables in Emacs.
+ * Please do not remove this and leave it at the end of the file, where
+ * Emacs will automagically detect them.
+ * ---------------------------------------------------------------------
+ * Local variables:
+ * mode: c
+ * indent-tabs-mode: t
+ * c-basic-offset: 4
+ * tab-width: 4
+ * End:
+ * vim:noexpandtab:sw=4:ts=4:
+ */
+++ /dev/null
-/* src/toolbox/logging.h - contains logging functions
-
- Copyright (C) 1996-2005, 2006, 2007, 2008
- CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
-
- This file is part of CACAO.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-
-*/
-
-
-#ifndef _LOGGING_H
-#define _LOGGING_H
-
-#include "config.h"
-
-#include <stdio.h>
-#include <stdarg.h>
-
-#include "vm/class.hpp"
-#include "vm/method.hpp"
-#include "vm/utf8.h"
-
-
-/* function prototypes ********************************************************/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void log_init(const char *fname);
-
-void log_start(void);
-
-void log_vprint(const char *text, va_list ap);
-void log_print(const char *text, ...);
-void log_println(const char *text, ...);
-
-void log_finish(void);
-
-
-/* log message functions */
-void log_message_utf(const char *msg, utf *u);
-void log_message_class(const char *msg, classinfo *c);
-void log_message_class_message_class(const char *msg1, classinfo *c1,
- const char *msg2, classinfo *c2);
-void log_message_method(const char *msg, methodinfo *m);
-
-#define log_text(s) log_println("%s", (s))
-#define dolog log_println
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _LOGGING_H */
-
-
-/*
- * These are local overrides for various environment variables in Emacs.
- * Please do not remove this and leave it at the end of the file, where
- * Emacs will automagically detect them.
- * ---------------------------------------------------------------------
- * Local variables:
- * mode: c
- * indent-tabs-mode: t
- * c-basic-offset: 4
- * tab-width: 4
- * End:
- */
--- /dev/null
+/* src/toolbox/logging.h - contains logging functions
+
+ Copyright (C) 1996-2005, 2006, 2007, 2008
+ CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
+
+ This file is part of CACAO.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+*/
+
+
+#ifndef _LOGGING_H
+#define _LOGGING_H
+
+#include "config.h"
+
+#include <stdio.h>
+#include <stdarg.h>
+
+#include "vm/class.hpp"
+#include "vm/method.hpp"
+#include "vm/utf8.h"
+
+
+/* function prototypes ********************************************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void log_init(const char *fname);
+
+void log_start(void);
+
+void log_vprint(const char *text, va_list ap);
+void log_print(const char *text, ...);
+void log_println(const char *text, ...);
+
+void log_finish(void);
+
+
+/* log message functions */
+void log_message_utf(const char *msg, utf *u);
+void log_message_class(const char *msg, classinfo *c);
+void log_message_class_message_class(const char *msg1, classinfo *c1,
+ const char *msg2, classinfo *c2);
+void log_message_method(const char *msg, methodinfo *m);
+
+#define log_text(s) log_println("%s", (s))
+#define dolog log_println
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LOGGING_H */
+
+
+/*
+ * These are local overrides for various environment variables in Emacs.
+ * Please do not remove this and leave it at the end of the file, where
+ * Emacs will automagically detect them.
+ * ---------------------------------------------------------------------
+ * Local variables:
+ * mode: c
+ * indent-tabs-mode: t
+ * c-basic-offset: 4
+ * tab-width: 4
+ * End:
+ */
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/annotation.h"
#include "vm/array.hpp"
#include "threads/lock.hpp"
#include "threads/mutex.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"
#include "vm/jit/builtin.hpp"
#include "threads/mutex.hpp"
#include "toolbox/hashtable.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/classcache.hpp"
#include "vm/exceptions.hpp"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "toolbox/worklist.h"
#include "vm/jit/builtin.hpp"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "vm/jit/trace.hpp"
#include "vm/jit/trap.h"
-#include "toolbox/logging.h" /* XXX for debugging only */
+#include "toolbox/logging.hpp" /* XXX for debugging only */
/* emit_load *******************************************************************
#include "threads/mutex.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "toolbox/util.h"
#include "vm/array.hpp"
#include "arch.h"
#include "md-abi.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/descriptor.hpp"
#include "vm/utf8.h"
#include "toolbox/avl.h"
#include "toolbox/list.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "native/llni.h"
#include "native/localref.hpp"
#include "threads/mutex.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/class.hpp"
#include "threads/lock.hpp"
#include "toolbox/hashtable.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/options.h"
#include "native/native.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "threads/mutex.hpp"
#include "vm/types.h"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/jit.hpp"
#include "vm/jit/stack.h"
#include <assert.h>
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/jit.hpp"
#include "vm/jit/loop/graph.h"
#include "vm/jit/loop/loop.h"
#include <stdlib.h>
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/jit/jit.hpp"
#include "vm/jit/loop/loop.h"
#include "vm/jit/optimizing/lsra.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
extern const char *string_java_lang_InternalError;
/* function prototypes */
#include "threads/lock.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "native/native.hpp"
#include "toolbox/list.hpp"
-#include "toolbox/logging.h" /* XXX remove me! */
+#include "toolbox/logging.hpp" /* XXX remove me! */
#include "vm/exceptions.hpp"
#include "vm/initialize.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/classcache.hpp"
#include "vm/globals.hpp"
#include "native/native.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/exceptions.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"
#include "vm/jit/builtin.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/global.h"
#include "vm/globals.hpp"
#include "native/llni.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/exceptions.hpp"
#include "vm/options.h"
#include "native/native.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/access.hpp"
#include "vm/array.hpp"
#include "native/native.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/access.hpp"
#include "vm/array.hpp"
#include "mm/memory.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"
#include "vm/class.hpp"
#include "threads/lock.hpp"
#include "threads/mutex.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/access.hpp"
#include "vm/array.hpp"
#include "threads/mutex.hpp"
#include "toolbox/hashtable.h"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/jit/builtin.hpp"
#include "vm/classcache.hpp"
#include "mm/gc.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/class.hpp"
#include "vm/field.hpp"
#include "threads/mutex.hpp"
#include "toolbox/list.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "toolbox/util.h"
#include "vm/exceptions.hpp"
#include "threads/lock.hpp"
#include "threads/thread.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
#include "vm/array.hpp"