Home | History | Annotate | Download | only in locks

Lines Matching defs:WHEAD

319     private transient volatile WNode whead;
422 return ((whead == wtail && (s & ABITS) < RFULL &&
542 if ((h = whead) != null && h.status != 0)
562 if (m == RUNIT && (h = whead) != null && h.status != 0)
589 if ((h = whead) != null && h.status != 0)
597 if (m == RUNIT && (h = whead) != null && h.status != 0)
673 if ((h = whead) != null && h.status != 0)
711 if ((h = whead) != null && h.status != 0)
719 if (m == RUNIT && (h = whead) != null && h.status != 0)
741 if ((h = whead) != null && h.status != 0)
760 if (m == RUNIT && (h = whead) != null && h.status != 0)
924 if ((h = whead) != null && h.status != 0)
935 if (m == RUNIT && (h = whead) != null && h.status != 0)
1004 * Wakes up the successor of h (normally whead). This is normally
1042 spins = (m == WBIT && wtail == whead) ? SPINS : 0;
1049 if (U.compareAndSwapObject(this, WHEAD, null, hd))
1065 if ((h = whead) == p) {
1075 whead = node;
1095 if (whead == h) {
1118 whead == h && node.prev == p)
1146 if ((h = whead) == (p = wtail)) {
1162 WNode nh = whead, np = wtail;
1173 if (U.compareAndSwapObject(this, WHEAD, null, hd))
1192 if ((h = whead) != null && (c = h.cowait) != null &&
1210 if (whead == h && p.prev == pp) {
1227 whead == h && p.prev == pp)
1243 if ((h = whead) == p) {
1254 whead = node;
1279 if (whead == h) {
1303 whead == h && node.prev == p)
1382 while ((h = whead) != null) {
1389 if (h == whead) {
1403 private static final long WHEAD;
1414 WHEAD = U.objectFieldOffset
1415 (StampedLock.class.getDeclaredField("whead"));