Searched refs:gAborting (Results 1 – 15 of 15) sorted by relevance
149 if (gAborting == 0) { // Avoid recursive aborts. in RegisterAsLockedImpl()177 if (kDebugLocking && gAborting == 0) { // Avoid recursive aborts. in RegisterAsUnlockedImpl()241 if (result && self != nullptr && level_ != kMonitorLock && !gAborting) { in IsExclusiveHeld()257 if (kDebugLocking && (gAborting == 0)) { in AssertExclusiveHeld()294 if (kDebugLocking && (gAborting == 0)) { in AssertExclusiveHeld()
209 if (kDebugLocking && (gAborting == 0)) { in AssertNotHeldExclusive()364 if (kDebugLocking && (gAborting == 0)) { in AssertNotExclusiveHeld()377 if (kDebugLocking && (gAborting == 0)) { in AssertSharedHeld()389 if (kDebugLocking && (gAborting == 0)) { in AssertNotHeld()
314 if (gAborting == 0) { // Avoid recursive aborts. in CheckSafeToWait()
27 extern std::atomic<unsigned int> gAborting;
40 std::atomic<unsigned int> gAborting(0); variable
45 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr) || gAborting > 0; in ScopedThreadChangeDestructorCheck()
114 LOG((gAborting == 0 && verify_count_on_shutdown_) ? FATAL : WARNING) in ~Barrier()
197 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()227 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
356 use_addr2line = (gAborting > 0) && RunCommand(FindAddr2line() + " -h"); in DumpNativeStack()
234 LOG((kIsDebugBuild && (gAborting == 0)) ? ::android::base::FATAL : ::android::base::ERROR) in WaitForThreadsToRunThroughCheckpoint()293 ++gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()300 --gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
498 gAborting++; // set before taking any locks in HandleUnexpectedSignalCommon()
567 if (gAborting > 1) { in Dump()572 gAborting++; in Dump()654 if (gAborting < kOnlyPrintWhenRecursionLessThan) { in DumpRecursiveAbort()655 gAborting++; in DumpRecursiveAbort()662 auto old_value = gAborting.fetch_add(1); // set before taking any locks in SetAbortMessage()
1993 if (gAborting == 0 && self != nullptr && thread != nullptr && thread->tlsPtr_.opeer != nullptr) { in DumpState()2365 bool dump_for_abort = (gAborting > 0); in DumpStack()
297 Thread::Current()->AssertThreadSuspensionIsAllowable(gAborting == 0); in RegTypeCache()
799 if (LIKELY(gAborting == 0)) { in FailOrAbort()