aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/Compiler.cpp
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-05-26 10:11:58 -0700
committerDan Bornstein <danfuzz@android.com>2011-05-26 10:11:58 -0700
commit60fc806b679a3655c228b4093058c59941a49cfe (patch)
tree06b08460aa3a4c5a56b553b6cb90a0f607beef18 /vm/compiler/Compiler.cpp
parentd9d1a8685a394c7fd67d87aa52e826b88c981994 (diff)
Further conservation of newlines.
Friends don't let friends end LOG() strings with newlines. Change-Id: I5a18c766c90c4ab5f03caa6acd601d34d91beb00
Diffstat (limited to 'vm/compiler/Compiler.cpp')
-rw-r--r--vm/compiler/Compiler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/vm/compiler/Compiler.cpp b/vm/compiler/Compiler.cpp
index 99533b7c2..e463ca8d5 100644
--- a/vm/compiler/Compiler.cpp
+++ b/vm/compiler/Compiler.cpp
@@ -178,7 +178,7 @@ bool dvmCompilerSetupCodeCache(void)
MAP_PRIVATE , fd, 0);
close(fd);
if (gDvmJit.codeCache == MAP_FAILED) {
- LOGE("Failed to mmap the JIT code cache: %s\n", strerror(errno));
+ LOGE("Failed to mmap the JIT code cache: %s", strerror(errno));
return false;
}
@@ -418,7 +418,7 @@ static bool compilerThreadStartup(void)
pJitTable = (JitEntry*)
calloc(gDvmJit.jitTableSize, sizeof(*pJitTable));
if (!pJitTable) {
- LOGE("jit table allocation failed\n");
+ LOGE("jit table allocation failed");
dvmUnlockMutex(&gDvmJit.tableLock);
goto fail;
}
@@ -432,7 +432,7 @@ static bool compilerThreadStartup(void)
*/
pJitProfTable = (unsigned char *)malloc(JIT_PROF_SIZE);
if (!pJitProfTable) {
- LOGE("jit prof table allocation failed\n");
+ LOGE("jit prof table allocation failed");
dvmUnlockMutex(&gDvmJit.tableLock);
goto fail;
}
@@ -447,7 +447,7 @@ static bool compilerThreadStartup(void)
pJitTraceProfCounters = (JitTraceProfCounters*)
calloc(1, sizeof(*pJitTraceProfCounters));
if (!pJitTraceProfCounters) {
- LOGE("jit trace prof counters allocation failed\n");
+ LOGE("jit trace prof counters allocation failed");
dvmUnlockMutex(&gDvmJit.tableLock);
goto fail;
}
@@ -720,7 +720,7 @@ static void *compilerThreadStart(void *arg)
dvmChangeStatus(NULL, THREAD_RUNNING);
if (gDvm.verboseShutdown)
- LOGD("Compiler thread shutting down\n");
+ LOGD("Compiler thread shutting down");
return NULL;
}
@@ -773,9 +773,9 @@ void dvmCompilerShutdown(void)
dvmUnlockMutex(&gDvmJit.compilerLock);
if (pthread_join(gDvmJit.compilerHandle, &threadReturn) != 0)
- LOGW("Compiler thread join failed\n");
+ LOGW("Compiler thread join failed");
else if (gDvm.verboseShutdown)
- LOGD("Compiler thread has shut down\n");
+ LOGD("Compiler thread has shut down");
}
/* Break loops within the translation cache */