Searched refs:gHeapprofdState (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_heapprofd.cpp | 152 static _Atomic MallocHeapprofdState gHeapprofdState = kInitialState; variable 228 if (atomic_load(&gHeapprofdState) == kIncompatibleHooks) { in HandleHeapprofdSignal() 239 if (atomic_compare_exchange_strong(&gHeapprofdState, &expected, in HandleHeapprofdSignal() 281 } else if (atomic_compare_exchange_strong(&gHeapprofdState, &expected2, in HandleHeapprofdSignal() 315 atomic_store(&gHeapprofdState, kEphemeralHookInstalled); in HandleHeapprofdSignal() 346 atomic_store(&gHeapprofdState, kIncompatibleHooks); in HeapprofdRememberHookConflict() 372 if (atomic_compare_exchange_strong(&gHeapprofdState, &expected, kInstallingHook)) { in HeapprofdInstallHooksAtInit() 374 atomic_store(&gHeapprofdState, kHookInstalled); in HeapprofdInstallHooksAtInit() 385 if (atomic_compare_exchange_strong(&gHeapprofdState, &expected, kInstallingHook)) { in InitHeapprofd() 389 atomic_store(&gHeapprofdState, kHookInstalled); in InitHeapprofd() [all …]
|