summaryrefslogtreecommitdiffstats
path: root/vm/Thread.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 20:04:51 +0000
committerSteve Block <steveblock@google.com>2012-01-05 20:28:22 +0000
commit4308417beec548c2b2c06ecec4f7f4a965b09fb2 (patch)
treeae52b2baeb944c711598c085500bd2544aa78eea /vm/Thread.cpp
parentab35b50311951feea3782151dd5422ee944685c2 (diff)
downloadandroid_dalvik-4308417beec548c2b2c06ecec4f7f4a965b09fb2.tar.gz
android_dalvik-4308417beec548c2b2c06ecec4f7f4a965b09fb2.tar.bz2
android_dalvik-4308417beec548c2b2c06ecec4f7f4a965b09fb2.zip
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ic558031c75b3702d90eb78bd730501ae5d3c077b
Diffstat (limited to 'vm/Thread.cpp')
-rw-r--r--vm/Thread.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/vm/Thread.cpp b/vm/Thread.cpp
index 6ae23c711..7363e6eb8 100644
--- a/vm/Thread.cpp
+++ b/vm/Thread.cpp
@@ -476,7 +476,7 @@ static void lockThreadSuspend(const char* who, SuspendCause why)
* Could be two app threads both want to patch predicted
* chaining cells around the same time.
*/
- LOGI("threadid=%d ODD: want thread-suspend lock (%s:%s),"
+ ALOGI("threadid=%d ODD: want thread-suspend lock (%s:%s),"
" it's held, no suspend pending",
self->threadId, who, getSuspendCauseStr(why));
} else {
@@ -903,7 +903,7 @@ static bool prepareThread(Thread* thread)
thread->handle = pthread_self();
thread->systemTid = dvmGetSysThreadId();
- //LOGI("SYSTEM TID IS %d (pid is %d)", (int) thread->systemTid,
+ //ALOGI("SYSTEM TID IS %d (pid is %d)", (int) thread->systemTid,
// (int) getpid());
/*
* If we were called by dvmAttachCurrentThread, the self value is
@@ -1598,7 +1598,7 @@ static void threadExitUncaughtException(Thread* self, Object* group)
"uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V");
if (uncaughtHandler != NULL) {
- //LOGI("+++ calling %s.uncaughtException",
+ //ALOGI("+++ calling %s.uncaughtException",
// handlerObj->clazz->descriptor);
JValue unused;
dvmCallMethod(self, uncaughtHandler, handlerObj, &unused,
@@ -2114,7 +2114,7 @@ void dvmDetachCurrentThread()
dvmLockMutex(&traceState->startStopLock);
if (traceState->traceEnabled) {
- LOGI("threadid=%d: waiting for method trace to finish",
+ ALOGI("threadid=%d: waiting for method trace to finish",
self->threadId);
while (traceState->traceEnabled) {
dvmWaitCond(&traceState->threadExitCond,
@@ -2265,7 +2265,7 @@ void dvmSuspendSelf(bool jdwpActivity)
* If we got here via waitForDebugger(), don't do this part.
*/
if (jdwpActivity) {
- //LOGI("threadid=%d: clearing wait-for-event (my handle=%08x)",
+ //ALOGI("threadid=%d: clearing wait-for-event (my handle=%08x)",
// self->threadId, (int) self->handle);
dvmJdwpClearWaitForEventThread(gDvm.jdwpState);
}
@@ -3297,7 +3297,7 @@ void dvmDumpThreadEx(const DebugOutputTarget* target, Thread* thread,
*/
threadObj = thread->threadObj;
if (threadObj == NULL) {
- LOGI("Can't dump thread %d: threadObj not set", thread->threadId);
+ ALOGI("Can't dump thread %d: threadObj not set", thread->threadId);
return;
}
dvmAddTrackedAlloc(threadObj, NULL);