Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java167 transient volatile int cellsBusy; field in Striped64
235 if (cellsBusy == 0) { // Try to attach new Cell in longAccumulate()
237 if (cellsBusy == 0 && casCellsBusy()) { in longAccumulate()
247 cellsBusy = 0; in longAccumulate()
263 else if (cellsBusy == 0 && casCellsBusy()) { in longAccumulate()
268 cellsBusy = 0; in longAccumulate()
275 else if (cellsBusy == 0 && cells == as && casCellsBusy()) { in longAccumulate()
284 cellsBusy = 0; in longAccumulate()
319 if (cellsBusy == 0) { // Try to attach new Cell in doubleAccumulate()
321 if (cellsBusy == 0 && casCellsBusy()) { in doubleAccumulate()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java813 private transient volatile int cellsBusy; field in ConcurrentHashMap
2598 if (cellsBusy == 0) { // Try to attach new Cell in fullAddCount()
2600 if (cellsBusy == 0 && in fullAddCount()
2612 cellsBusy = 0; in fullAddCount()
2629 else if (cellsBusy == 0 && in fullAddCount()
2639 cellsBusy = 0; in fullAddCount()
2646 else if (cellsBusy == 0 && counterCells == as && in fullAddCount()
2657 cellsBusy = 0; in fullAddCount()