Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java156 transient volatile Cell[] cells; field in Striped64
233 if ((as = cells) != null && (n = as.length) > 0) { in longAccumulate()
240 if ((rs = cells) != null && in longAccumulate()
259 else if (n >= NCPU || cells != as) in longAccumulate()
265 if (cells == as) // Expand table unless stale in longAccumulate()
266 cells = Arrays.copyOf(as, n << 1); in longAccumulate()
275 else if (cellsBusy == 0 && cells == as && casCellsBusy()) { in longAccumulate()
277 if (cells == as) { in longAccumulate()
280 cells = rs; in longAccumulate()
317 if ((as = cells) != null && (n = as.length) > 0) { in doubleAccumulate()
[all …]
DLongAdder.java87 if ((as = cells) != null || !casBase(b = base, b + x)) { in add()
120 Cell[] as = cells; in sum()
138 Cell[] as = cells; in reset()
158 Cell[] as = cells; in sumThenReset()
DDoubleAdder.java91 if ((as = cells) != null || in add()
118 Cell[] as = cells; in sum()
136 Cell[] as = cells; in reset()
156 Cell[] as = cells; in sumThenReset()
DLongAccumulator.java106 if ((as = cells) != null || in accumulate()
128 Cell[] as = cells; in get()
147 Cell[] as = cells; in reset()
167 Cell[] as = cells; in getThenReset()
DDoubleAccumulator.java104 if ((as = cells) != null || in accumulate()
130 Cell[] as = cells; in get()
150 Cell[] as = cells; in reset()
170 Cell[] as = cells; in getThenReset()