summaryrefslogtreecommitdiffstats
path: root/vm/Debugger.c
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-08-18 12:19:51 -0700
committerAndy McFadden <fadden@android.com>2010-08-18 12:25:33 -0700
commit0d615c3ce5bf97ae65b9347ee77968f38620d5e8 (patch)
treef2ebe3b801c8ef0626802ed0c83cc9fa2c97d43e /vm/Debugger.c
parent8a06ceea2abc960f8a0bae6c9aaa9894c9d97914 (diff)
downloadandroid_dalvik-0d615c3ce5bf97ae65b9347ee77968f38620d5e8.tar.gz
android_dalvik-0d615c3ce5bf97ae65b9347ee77968f38620d5e8.tar.bz2
android_dalvik-0d615c3ce5bf97ae65b9347ee77968f38620d5e8.zip
Always support debugging and profiling.
This eliminates the use of the WITH_DEBUGGER and WITH_PROFILER conditional compilation flags. We've never shipped a device without these features, and it's unlikely we ever will. They're not worth the code clutter they cause. As usual, since I can't test the x86-atom code I left that alone and added an item to the TODO list. Bug 2923442. Change-Id: I335ebd5193bc86f7641513b1b41c0378839be1fe
Diffstat (limited to 'vm/Debugger.c')
-rw-r--r--vm/Debugger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm/Debugger.c b/vm/Debugger.c
index 94029114b..918e137d9 100644
--- a/vm/Debugger.c
+++ b/vm/Debugger.c
@@ -509,13 +509,11 @@ void dvmDbgExit(int status)
{
// TODO? invoke System.exit() to perform exit processing; ends up
// in System.exitInternal(), which can call JNI exit hook
-#ifdef WITH_PROFILER
LOGI("GC lifetime allocation: %d bytes\n", gDvm.allocProf.allocCount);
if (CALC_CACHE_STATS) {
dvmDumpAtomicCacheStats(gDvm.instanceofCache);
dvmDumpBootClassPath();
}
-#endif
#ifdef PROFILE_FIELD_ACCESS
dvmDumpFieldAccessCounts();
#endif