Home | History | Annotate | Download | only in concurrent

Lines Matching refs:MATCH

219          * to match a waiting node.
236 volatile SNode match; // the node matched to this
254 * Tries to match node s to this node, if so, waking up thread.
258 * @param s the node to match
262 if (match == null &&
263 U.compareAndSwapObject(this, MATCH, null, s)) {
271 return match == s;
278 U.compareAndSwapObject(this, MATCH, null, this);
282 return match == this;
287 private static final long MATCH;
292 MATCH = U.objectFieldOffset
293 (SNode.class.getDeclaredField("match"));
333 * mode, try to push node on stack and wait for a match,
337 * try to push a fulfilling node on to stack, match
344 * help it out by doing its match and/or pop
376 SNode m = s.next; // m is s's match
386 } else // lost match
391 SNode m = h.next; // m is h's match
396 if (m.tryMatch(h)) // help match
398 else // lost match
430 * timeouts. (So, on timeout, one last check for match is
444 SNode m = s.match;
730 * @param e the comparison value for checking match