diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:16:58 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 11:26:30 +0000 |
commit | c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef (patch) | |
tree | 76e90a6ae1910835a56e4dad3f60f42392645703 /vm/interp | |
parent | e8e1ddccd616e8226b7cc1e4e9fdb327429249e8 (diff) | |
download | android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.tar.gz android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.tar.bz2 android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.zip |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Also fix an occurrence of LOGW missed in an earlier change.
Bug: 5449033
Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
Diffstat (limited to 'vm/interp')
-rw-r--r-- | vm/interp/Interp.cpp | 18 | ||||
-rw-r--r-- | vm/interp/Jit.cpp | 8 | ||||
-rw-r--r-- | vm/interp/Stack.cpp | 14 |
3 files changed, 20 insertions, 20 deletions
diff --git a/vm/interp/Interp.cpp b/vm/interp/Interp.cpp index 83150ee45..408255fd9 100644 --- a/vm/interp/Interp.cpp +++ b/vm/interp/Interp.cpp @@ -317,7 +317,7 @@ static void dvmBreakpointSetRemove(BreakpointSet* pSet, Method* method, if (idx < 0) { /* breakpoint not found in set -- unexpected */ if (*(u1*)addr == OP_BREAKPOINT) { - LOGE("Unable to restore breakpoint opcode (%s.%s +%#x)", + ALOGE("Unable to restore breakpoint opcode (%s.%s +%#x)", method->clazz->descriptor, method->name, instrOffset); dvmAbort(); } else { @@ -462,7 +462,7 @@ u1 dvmGetOriginalOpcode(const u2* addr) if (!dvmBreakpointSetOriginalOpcode(pSet, addr, &orig)) { orig = *(u1*)addr; if (orig == OP_BREAKPOINT) { - LOGE("GLITCH: can't find breakpoint, opcode is still set"); + ALOGE("GLITCH: can't find breakpoint, opcode is still set"); dvmAbort(); } } @@ -865,7 +865,7 @@ static void updateDebugger(const Method* method, const u2* pc, const u4* fp, * during single-step. */ char* desc = dexProtoCopyMethodDescriptor(&method->prototype); - LOGE("HEY: invalid 'this' ptr %p (%s.%s %s)", thisPtr, + ALOGE("HEY: invalid 'this' ptr %p (%s.%s %s)", thisPtr, method->clazz->descriptor, method->name, desc); free(desc); dvmAbort(); @@ -920,15 +920,15 @@ void dvmInterpCheckTrackedRefs(Thread* self, const Method* method, count = dvmReferenceTableEntries(&self->internalLocalRefTable); - LOGE("TRACK: unreleased internal reference (prev=%d total=%d)", + ALOGE("TRACK: unreleased internal reference (prev=%d total=%d)", debugTrackedRefStart, count); desc = dexProtoCopyMethodDescriptor(&method->prototype); - LOGE(" current method is %s.%s %s", method->clazz->descriptor, + ALOGE(" current method is %s.%s %s", method->clazz->descriptor, method->name, desc); free(desc); top = self->internalLocalRefTable.table + debugTrackedRefStart; while (top < self->internalLocalRefTable.nextEntry) { - LOGE(" %p (%s)", + ALOGE(" %p (%s)", *top, ((*top)->clazz != NULL) ? (*top)->clazz->descriptor : ""); top++; @@ -1179,7 +1179,7 @@ static void copySwappedArrayData(void* dest, const u2* src, u4 size, u2 width) } break; default: - LOGE("Unexpected width %d in copySwappedArrayData", width); + ALOGE("Unexpected width %d in copySwappedArrayData", width); dvmAbort(); break; } @@ -1616,7 +1616,7 @@ void dvmArmSafePointCallback(Thread* thread, SafePointCallback funct, if ((funct != thread->callback) || (arg != thread->callbackArg)) { // Yes - report failure and die - LOGE("ArmSafePointCallback failed, thread %d", thread->threadId); + ALOGE("ArmSafePointCallback failed, thread %d", thread->threadId); dvmUnlockMutex(&thread->callbackMutex); dvmAbort(); } @@ -1944,7 +1944,7 @@ void dvmInterpret(Thread* self, const Method* method, JValue* pResult) if (method->clazz->status < CLASS_INITIALIZING || method->clazz->status == CLASS_ERROR) { - LOGE("ERROR: tried to execute code in unprepared class '%s' (%d)", + ALOGE("ERROR: tried to execute code in unprepared class '%s' (%d)", method->clazz->descriptor, method->clazz->status); dvmDumpThread(self, false); dvmAbort(); diff --git a/vm/interp/Jit.cpp b/vm/interp/Jit.cpp index 8cae67ea7..9f87705fc 100644 --- a/vm/interp/Jit.cpp +++ b/vm/interp/Jit.cpp @@ -926,7 +926,7 @@ void dvmCheckJit(const u2* pc, Thread* self) sizeof(JitTraceRun) * (self->currTraceRun+1)); if (desc == NULL) { - LOGE("Out of memory in trace selection"); + ALOGE("Out of memory in trace selection"); dvmJitStopTranslationRequests(); self->jitState = kJitDone; allDone = true; @@ -965,7 +965,7 @@ void dvmCheckJit(const u2* pc, Thread* self) allDone = true; break; default: - LOGE("Unexpected JIT state: %d", self->jitState); + ALOGE("Unexpected JIT state: %d", self->jitState); dvmAbort(); break; } @@ -1284,7 +1284,7 @@ void dvmJitCheckTraceRequest(Thread* self) case kJitDone: break; default: - LOGE("Unexpected JIT state: %d", self->jitState); + ALOGE("Unexpected JIT state: %d", self->jitState); dvmAbort(); } } else { @@ -1410,7 +1410,7 @@ JitTraceCounter_t *dvmJitNextTraceCounter() JitTraceCounter_t *p = (JitTraceCounter_t*) calloc(JIT_PROF_BLOCK_ENTRIES, sizeof(*p)); if (!p) { - LOGE("Failed to allocate block of trace profile counters"); + ALOGE("Failed to allocate block of trace profile counters"); dvmAbort(); } gDvmJit.pJitTraceProfCounters->buckets[idx] = p; diff --git a/vm/interp/Stack.cpp b/vm/interp/Stack.cpp index aa164393b..a1f8d7130 100644 --- a/vm/interp/Stack.cpp +++ b/vm/interp/Stack.cpp @@ -335,7 +335,7 @@ static bool dvmPopFrame(Thread* self) saveBlock = SAVEAREA_FROM_FP(saveBlock->prevFrame); } if (saveBlock->method != NULL) { - LOGE("PopFrame missed the break"); + ALOGE("PopFrame missed the break"); assert(false); dvmAbort(); // stack trashed -- nowhere to go in this thread } @@ -504,7 +504,7 @@ void dvmCallMethodV(Thread* self, const Method* method, Object* obj, #ifndef NDEBUG if (verifyCount != method->insSize) { - LOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, + ALOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, method->insSize, clazz->descriptor, method->name); assert(false); goto bail; @@ -599,7 +599,7 @@ void dvmCallMethodA(Thread* self, const Method* method, Object* obj, *ins++ = args->z; /* 8 bits, zero or non-zero */ break; default: - LOGE("Invalid char %c in short signature of %s.%s", + ALOGE("Invalid char %c in short signature of %s.%s", *(desc-1), clazz->descriptor, method->name); assert(false); goto bail; @@ -611,7 +611,7 @@ void dvmCallMethodA(Thread* self, const Method* method, Object* obj, #ifndef NDEBUG if (verifyCount != method->insSize) { - LOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, + ALOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, method->insSize, clazz->descriptor, method->name); assert(false); goto bail; @@ -717,7 +717,7 @@ Object* dvmInvokeMethod(Object* obj, const Method* method, #ifndef NDEBUG if (verifyCount != method->insSize) { - LOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, + ALOGE("Got vfycount=%d insSize=%d for %s.%s", verifyCount, method->insSize, clazz->descriptor, method->name); assert(false); goto bail; @@ -1007,7 +1007,7 @@ void dvmHandleStackOverflow(Thread* self, const Method* method) /* * Already did, nothing to do but bail. */ - LOGE("DalvikVM: double-overflow of stack in threadid=%d; aborting", + ALOGE("DalvikVM: double-overflow of stack in threadid=%d; aborting", self->threadId); dvmDumpThread(self, false); dvmAbort(); @@ -1060,7 +1060,7 @@ void dvmCleanupStackOverflow(Thread* self, const Object* exception) newStackEnd = (self->interpStackStart - self->interpStackSize) + STACK_OVERFLOW_RESERVE; if ((u1*)self->interpSave.curFrame <= newStackEnd) { - LOGE("Can't shrink stack: curFrame is in reserved area (%p %p)", + ALOGE("Can't shrink stack: curFrame is in reserved area (%p %p)", self->interpStackEnd, self->interpSave.curFrame); dvmDumpThread(self, false); dvmAbort(); |