Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_util_Binder.cpp184 uint32_t collectedAtRefs = gCollectedAtRefs.load(memory_order_relaxed); in gcIfManyNewRefs() local
189 if (totalRefs - (collectedAtRefs + GC_INTERVAL) /* modular arithmetic! */ < MAX_RACING) { in gcIfManyNewRefs()
191 if (gCollectedAtRefs.compare_exchange_strong(collectedAtRefs, in gcIfManyNewRefs()
192 collectedAtRefs + GC_INTERVAL, std::memory_order_relaxed)) { in gcIfManyNewRefs()
198 ALOGV("Now have %d binder ops", totalRefs - collectedAtRefs); in gcIfManyNewRefs()