am 9d379a1e: am dfdbb64f: Merge "Fix stack trace logging in RefBase."

* commit '9d379a1e02f25cbc06db55952d981b0dbba75b5c':
  Fix stack trace logging in RefBase.
This commit is contained in:
Igor Murashkin 2014-04-01 23:00:08 +00:00 committed by Android Git Automerger
commit cb6daaafa4

View file

@ -109,7 +109,7 @@ public:
char inc = refs->ref >= 0 ? '+' : '-'; char inc = refs->ref >= 0 ? '+' : '-';
ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
#if DEBUG_REFS_CALLSTACK_ENABLED #if DEBUG_REFS_CALLSTACK_ENABLED
refs->stack.dump(LOG_TAG); refs->stack.log(LOG_TAG);
#endif #endif
refs = refs->next; refs = refs->next;
} }
@ -123,7 +123,7 @@ public:
char inc = refs->ref >= 0 ? '+' : '-'; char inc = refs->ref >= 0 ? '+' : '-';
ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
#if DEBUG_REFS_CALLSTACK_ENABLED #if DEBUG_REFS_CALLSTACK_ENABLED
refs->stack.dump(LOG_TAG); refs->stack.log(LOG_TAG);
#endif #endif
refs = refs->next; refs = refs->next;
} }