aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/Compiler.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:22:13 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:29:27 +0000
commit062bf509a77fce9dfcb7e7b2e401cf2a124d83d5 (patch)
tree6015cb53c42eb9ae2d13811da33381701a7c353a /vm/compiler/Compiler.cpp
parent26f957278b34144a3f90989ccddb0102fc1fdd62 (diff)
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: Ic663376d1ad6a6cb14bf81405ad9afd247cf2f60
Diffstat (limited to 'vm/compiler/Compiler.cpp')
-rw-r--r--vm/compiler/Compiler.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/vm/compiler/Compiler.cpp b/vm/compiler/Compiler.cpp
index c08d42dfb..6e3402116 100644
--- a/vm/compiler/Compiler.cpp
+++ b/vm/compiler/Compiler.cpp
@@ -185,7 +185,7 @@ bool dvmCompilerSetupCodeCache(void)
gDvmJit.pageSizeMask = getpagesize() - 1;
/* This can be found through "dalvik-jit-code-cache" in /proc/<pid>/maps */
- // LOGD("Code cache starts at %p", gDvmJit.codeCache);
+ // ALOGD("Code cache starts at %p", gDvmJit.codeCache);
/* Copy the template code into the beginning of the code cache */
int templateSize = (intptr_t) dmvCompilerTemplateEnd -
@@ -227,7 +227,7 @@ static void crawlDalvikStack(Thread *thread, bool print)
int stackLevel = 0;
if (print) {
- LOGD("Crawling tid %d (%s / %p %s)", thread->systemTid,
+ ALOGD("Crawling tid %d (%s / %p %s)", thread->systemTid,
dvmGetThreadStatusStr(thread->status),
thread->inJitCodeCache,
thread->inJitCodeCache ? "jit" : "interp");
@@ -238,11 +238,11 @@ static void crawlDalvikStack(Thread *thread, bool print)
if (print) {
if (dvmIsBreakFrame((u4*)fp)) {
- LOGD(" #%d: break frame (%p)",
+ ALOGD(" #%d: break frame (%p)",
stackLevel, saveArea->returnAddr);
}
else {
- LOGD(" #%d: %s.%s%s (%p)",
+ ALOGD(" #%d: %s.%s%s (%p)",
stackLevel,
saveArea->method->clazz->descriptor,
saveArea->method->name,
@@ -287,7 +287,7 @@ static void resetCodeCache(void)
dvmUnlockThreadList();
if (inJit) {
- LOGD("JIT code cache reset delayed (%d bytes %d/%d)",
+ ALOGD("JIT code cache reset delayed (%d bytes %d/%d)",
gDvmJit.codeCacheByteUsed, gDvmJit.numCodeCacheReset,
++gDvmJit.numCodeCacheResetDelayed);
return;
@@ -348,7 +348,7 @@ static void resetCodeCache(void)
dvmUnlockMutex(&gDvmJit.compilerLock);
- LOGD("JIT code cache reset in %lld ms (%d bytes %d/%d)",
+ ALOGD("JIT code cache reset in %lld ms (%d bytes %d/%d)",
(dvmGetRelativeTimeUsec() - startTime) / 1000,
byteUsed, ++gDvmJit.numCodeCacheReset,
gDvmJit.numCodeCacheResetDelayed);
@@ -612,7 +612,7 @@ static void *compilerThreadStart(void *arg)
pthread_cond_wait(&gDvmJit.compilerQueueActivity,
&gDvmJit.compilerLock);
dvmUnlockMutex(&gDvmJit.compilerLock);
- LOGD("JIT started for system_server");
+ ALOGD("JIT started for system_server");
} else {
dvmLockMutex(&gDvmJit.compilerLock);
/*
@@ -680,7 +680,7 @@ static void *compilerThreadStart(void *arg)
gDvmJit.codeCacheFull |= resizeFail;
}
if (gDvmJit.haltCompilerThread) {
- LOGD("Compiler shutdown in progress - discarding request");
+ ALOGD("Compiler shutdown in progress - discarding request");
} else if (!gDvmJit.codeCacheFull) {
jmp_buf jmpBuf;
work.bailPtr = &jmpBuf;
@@ -726,7 +726,7 @@ static void *compilerThreadStart(void *arg)
dvmChangeStatus(NULL, THREAD_RUNNING);
if (gDvm.verboseShutdown)
- LOGD("Compiler thread shutting down");
+ ALOGD("Compiler thread shutting down");
return NULL;
}
@@ -781,7 +781,7 @@ void dvmCompilerShutdown(void)
if (pthread_join(gDvmJit.compilerHandle, &threadReturn) != 0)
LOGW("Compiler thread join failed");
else if (gDvm.verboseShutdown)
- LOGD("Compiler thread has shut down");
+ ALOGD("Compiler thread has shut down");
}
/* Break loops within the translation cache */