Searched refs:gAborting (Results 1 – 15 of 15) sorted by relevance
146 if (gAborting == 0) { // Avoid recursive aborts. in RegisterAsLocked()167 if (kDebugLocking && gAborting == 0) { // Avoid recursive aborts. in RegisterAsUnlocked()231 if (result && self != nullptr && level_ != kMonitorLock && !gAborting) { in IsExclusiveHeld()247 if (kDebugLocking && (gAborting == 0)) { in AssertExclusiveHeld()284 if (kDebugLocking && (gAborting == 0)) { in AssertExclusiveHeld()
202 if (kDebugLocking && (gAborting == 0)) { in AssertNotHeldExclusive()357 if (kDebugLocking && (gAborting == 0)) { in AssertNotExclusiveHeld()370 if (kDebugLocking && (gAborting == 0)) { in AssertSharedHeld()382 if (kDebugLocking && (gAborting == 0)) { in AssertNotHeld()
295 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()
109 LOG((gAborting == 0 && verify_count_on_shutdown_) ? FATAL : WARNING) in ~Barrier()
147 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()177 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
229 LOG((kIsDebugBuild && (gAborting == 0)) ? ::android::base::FATAL : ::android::base::ERROR) in WaitForThreadsToRunThroughCheckpoint()285 ++gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()292 --gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
349 use_addr2line = (gAborting > 0) && RunCommand(FindAddr2line() + " -h"); in DumpNativeStack()
531 if (gAborting > 1) { in Dump()536 gAborting++; in Dump()618 if (gAborting < kOnlyPrintWhenRecursionLessThan) { in DumpRecursiveAbort()619 gAborting++; in DumpRecursiveAbort()626 auto old_value = gAborting.fetch_add(1); // set before taking any locks in Abort()
498 gAborting++; // set before taking any locks in HandleUnexpectedSignalCommon()
1837 if (gAborting == 0 && self != nullptr && thread != nullptr && thread->tlsPtr_.opeer != nullptr) { in DumpState()2179 bool dump_for_abort = (gAborting > 0); in DumpStack()
297 Thread::Current()->AssertThreadSuspensionIsAllowable(gAborting == 0); in RegTypeCache()
832 if (LIKELY(gAborting == 0)) { in FailOrAbort()