Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java855 static final int SMASK = 0xffff; // short bits == max index
1597 else if (qs.length <= (i = sp & SMASK))
1691 else if ((md & SMASK) + ac <= 0) {
1730 else if (((int)c & SMASK) == (w.config & SMASK) &&
1752 if ((md & SMASK) + (int)((c = ctl) >> RC_SHIFT) > 0)
1785 int minActive = (short)(b & SMASK),
1790 if ((md & SMASK) == 0)
1846 int wsrc = w.source, wid = w.config & SMASK, r = wid + 2;
1864 int sq = q.source & SMASK, cap, b;
1871 ((sx = (x.source & SMASK)) == wid ||
[all …]
DForkJoinTask.java269 private static final int SMASK = 0xffff; // short bits for tags field in ForkJoinTask
434 boolean canHelp = !timed || (p.mode & SMASK) == 0; in awaitDone()
1313 if (casStatus(s = status, (s & ~SMASK) | (newValue & SMASK))) in setForkJoinTaskTag()
1336 if (casStatus(s, (s & ~SMASK) | (update & SMASK))) in compareAndSetForkJoinTaskTag()