OSDN Git Service

Extra debug output for a failing lock check.
authorIan Rogers <irogers@google.com>
Fri, 23 May 2014 18:39:11 +0000 (11:39 -0700)
committerIan Rogers <irogers@google.com>
Fri, 23 May 2014 18:39:11 +0000 (11:39 -0700)
Change-Id: If4abae535a875a06f4fa4203e6aabc1169b1f38e

runtime/base/mutex-inl.h

index 6c415e7..a9472f7 100644 (file)
@@ -146,7 +146,7 @@ static inline void CheckUnattachedThread(LockLevel level) NO_THREAD_SAFETY_ANALY
           // Ignore logging which may or may not have set up thread data structures.
           level == kLoggingLock ||
           // Avoid recursive death.
-          level == kAbortLock);
+          level == kAbortLock) << level;
   }
 }