Home
last modified time | relevance | path

Searched refs:gAborting (Results 1 – 15 of 15) sorted by relevance

/art/runtime/base/
Dmutex-inl.h149 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()
Dmutex.h209 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()
Dmutex.cc314 if (gAborting == 0) { // Avoid recursive aborts. in CheckSafeToWait()
/art/libartbase/base/
Daborting.h27 extern std::atomic<unsigned int> gAborting;
Dlogging.cc40 std::atomic<unsigned int> gAborting(0); variable
/art/runtime/
Dscoped_thread_state_change.cc45 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr) || gAborting > 0; in ScopedThreadChangeDestructorCheck()
Dbarrier.cc114 LOG((gAborting == 0 && verify_count_on_shutdown_) ? FATAL : WARNING) in ~Barrier()
Dthread-inl.h197 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
227 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
Dnative_stack_dump.cc356 use_addr2line = (gAborting > 0) && RunCommand(FindAddr2line() + " -h"); in DumpNativeStack()
Dthread_list.cc234 LOG((kIsDebugBuild && (gAborting == 0)) ? ::android::base::FATAL : ::android::base::ERROR) in WaitForThreadsToRunThroughCheckpoint()
293 ++gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
300 --gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
Druntime_common.cc498 gAborting++; // set before taking any locks in HandleUnexpectedSignalCommon()
Druntime.cc567 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()
Dthread.cc1993 if (gAborting == 0 && self != nullptr && thread != nullptr && thread->tlsPtr_.opeer != nullptr) { in DumpState()
2365 bool dump_for_abort = (gAborting > 0); in DumpStack()
/art/runtime/verifier/
Dreg_type_cache.cc297 Thread::Current()->AssertThreadSuspensionIsAllowable(gAborting == 0); in RegTypeCache()
Dmethod_verifier.cc799 if (LIKELY(gAborting == 0)) { in FailOrAbort()