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() 241 atomic_compare_exchange_strong(&gHeapprofdState, &expected2, in HandleHeapprofdSignal() 288 atomic_store(&gHeapprofdState, kEphemeralHookInstalled); in HandleHeapprofdSignal() 323 atomic_store(&gHeapprofdState, kIncompatibleHooks); in HeapprofdRememberHookConflict() 354 if (atomic_compare_exchange_strong(&gHeapprofdState, &expected, kInstallingHook)) { in HeapprofdInstallHooksAtInit() 356 atomic_store(&gHeapprofdState, kHookInstalled); in HeapprofdInstallHooksAtInit() 367 if (atomic_compare_exchange_strong(&gHeapprofdState, &expected, kInstallingHook)) { in InitHeapprofd() 371 atomic_store(&gHeapprofdState, kHookInstalled); in InitHeapprofd() [all …]
|