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/alloc/Alloc.cpp | |
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/alloc/Alloc.cpp')
-rw-r--r-- | vm/alloc/Alloc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vm/alloc/Alloc.cpp b/vm/alloc/Alloc.cpp index 8a9eb4ed3..cfcb9687d 100644 --- a/vm/alloc/Alloc.cpp +++ b/vm/alloc/Alloc.cpp @@ -99,14 +99,14 @@ static Object* createStockException(const char* descriptor, const char* msg) /* find class, initialize if necessary */ clazz = dvmFindSystemClass(descriptor); if (clazz == NULL) { - LOGE("Unable to find %s", descriptor); + ALOGE("Unable to find %s", descriptor); return NULL; } init = dvmFindDirectMethodByDescriptor(clazz, "<init>", "(Ljava/lang/String;)V"); if (init == NULL) { - LOGE("Unable to find String-arg constructor for %s", descriptor); + ALOGE("Unable to find String-arg constructor for %s", descriptor); return NULL; } @@ -259,7 +259,7 @@ void dvmAddTrackedAlloc(Object* obj, Thread* self) assert(obj != NULL); assert(self != NULL); if (!dvmAddToReferenceTable(&self->internalLocalRefTable, obj)) { - LOGE("threadid=%d: unable to add %p to internal ref table", + ALOGE("threadid=%d: unable to add %p to internal ref table", self->threadId, obj); dvmDumpThread(self, false); dvmAbort(); @@ -284,7 +284,7 @@ void dvmReleaseTrackedAlloc(Object* obj, Thread* self) if (!dvmRemoveFromReferenceTable(&self->internalLocalRefTable, self->internalLocalRefTable.table, obj)) { - LOGE("threadid=%d: failed to remove %p from internal ref table", + ALOGE("threadid=%d: failed to remove %p from internal ref table", self->threadId, obj); dvmAbort(); } |