Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/atomic/
DStriped64.java137 transient volatile int cellsBusy; field in Striped64
205 if (cellsBusy == 0) { // Try to attach new Cell in longAccumulate()
207 if (cellsBusy == 0 && casCellsBusy()) { in longAccumulate()
217 cellsBusy = 0; in longAccumulate()
233 else if (cellsBusy == 0 && casCellsBusy()) { in longAccumulate()
238 cellsBusy = 0; in longAccumulate()
245 else if (cellsBusy == 0 && cells == as && casCellsBusy()) { in longAccumulate()
254 cellsBusy = 0; in longAccumulate()
289 if (cellsBusy == 0) { // Try to attach new Cell in doubleAccumulate()
291 if (cellsBusy == 0 && casCellsBusy()) { in doubleAccumulate()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java784 private transient volatile int cellsBusy; field in ConcurrentHashMap
2567 if (cellsBusy == 0) { // Try to attach new Cell in fullAddCount()
2569 if (cellsBusy == 0 && in fullAddCount()
2581 cellsBusy = 0; in fullAddCount()
2598 else if (cellsBusy == 0 && in fullAddCount()
2608 cellsBusy = 0; in fullAddCount()
2615 else if (cellsBusy == 0 && counterCells == as && in fullAddCount()
2626 cellsBusy = 0; in fullAddCount()