summaryrefslogtreecommitdiffstats
path: root/vm/Thread.cpp
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-05-26 12:01:03 -0700
committerDan Bornstein <danfuzz@android.com>2011-05-26 12:01:03 -0700
commit6f3c21fb026d9489e5046416bcd5a84fa8e4615b (patch)
treed2079c1e64552546b28f8e371251be2db50f1eb8 /vm/Thread.cpp
parent291c84f60853d30e1c0d79dd08c5e5164f588e26 (diff)
downloadandroid_dalvik-6f3c21fb026d9489e5046416bcd5a84fa8e4615b.tar.gz
android_dalvik-6f3c21fb026d9489e5046416bcd5a84fa8e4615b.tar.bz2
android_dalvik-6f3c21fb026d9489e5046416bcd5a84fa8e4615b.zip
More LOG newline cleanup.
This changes all the places I could find where the log string was on the line after its LOG call. Change-Id: Iac6a9fcc64f46631fb093824ab60237dce1a5241
Diffstat (limited to 'vm/Thread.cpp')
-rw-r--r--vm/Thread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/Thread.cpp b/vm/Thread.cpp
index 5dea33973..494731662 100644
--- a/vm/Thread.cpp
+++ b/vm/Thread.cpp
@@ -475,7 +475,7 @@ static void lockThreadSuspend(const char* who, SuspendCause why)
* chaining cells around the same time.
*/
LOGI("threadid=%d ODD: want thread-suspend lock (%s:%s),"
- " it's held, no suspend pending\n",
+ " it's held, no suspend pending",
self->threadId, who, getSuspendCauseStr(why));
} else {
/* we suspended; reset timeout */
@@ -487,7 +487,7 @@ static void lockThreadSuspend(const char* who, SuspendCause why)
startWhen = dvmGetRelativeTimeUsec();
if (!dvmIterativeSleep(sleepIter++, kSpinSleepTime, startWhen)) {
LOGE("threadid=%d: couldn't get thread-suspend lock (%s:%s),"
- " bailing\n",
+ " bailing",
self->threadId, who, getSuspendCauseStr(why));
/* threads are not suspended, thread dump could crash */
dvmDumpAllThreads(false);
@@ -3525,7 +3525,7 @@ void dvmNukeThread(Thread* thread)
* (The first just causes debuggerd to attach to it.)
*/
LOGD("threadid=%d: sending two SIGSTKFLTs to threadid=%d (tid=%d) to"
- " cause debuggerd dump\n",
+ " cause debuggerd dump",
dvmThreadSelf()->threadId, thread->threadId, thread->systemTid);
killResult = pthread_kill(thread->handle, SIGSTKFLT);
if (killResult != 0) {