Home
last modified time | relevance | path

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

/aosp12/art/runtime/base/
H A Dmutex-inl.h146 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()
H A Dmutex.h202 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()
H A Dmutex.cc295 if (gAborting == 0) { // Avoid recursive aborts. in CheckSafeToWait()
/aosp12/art/libartbase/base/
H A Daborting.h27 extern std::atomic<unsigned int> gAborting;
H A Dlogging.cc40 std::atomic<unsigned int> gAborting(0); variable
/aosp12/art/runtime/
H A Dscoped_thread_state_change.cc45 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr) || gAborting > 0; in ScopedThreadChangeDestructorCheck()
H A Dbarrier.cc109 LOG((gAborting == 0 && verify_count_on_shutdown_) ? FATAL : WARNING) in ~Barrier()
H A Dthread-inl.h147 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
177 if (gAborting == 0) { in AssertThreadSuspensionIsAllowable()
H A Dthread_list.cc229 LOG((kIsDebugBuild && (gAborting == 0)) ? ::android::base::FATAL : ::android::base::ERROR) in WaitForThreadsToRunThroughCheckpoint()
285 ++gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
292 --gAborting; in UnsafeLogFatalForThreadSuspendAllTimeout()
H A Dnative_stack_dump.cc349 use_addr2line = (gAborting > 0) && RunCommand(FindAddr2line() + " -h"); in DumpNativeStack()
H A Druntime.cc531 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()
H A Druntime_common.cc498 gAborting++; // set before taking any locks in HandleUnexpectedSignalCommon()
H A Dthread.cc1837 if (gAborting == 0 && self != nullptr && thread != nullptr && thread->tlsPtr_.opeer != nullptr) { in DumpState()
2179 bool dump_for_abort = (gAborting > 0); in DumpStack()
/aosp12/art/runtime/verifier/
H A Dreg_type_cache.cc297 Thread::Current()->AssertThreadSuspensionIsAllowable(gAborting == 0); in RegTypeCache()
H A Dmethod_verifier.cc832 if (LIKELY(gAborting == 0)) { in FailOrAbort()