ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.148 by jsr166, Mon Jan 16 01:47:16 2017 UTC vs.
Revision 1.149 by jsr166, Mon Jan 16 21:49:26 2017 UTC

# Line 1174 | Line 1174 | public class LinkedTransferQueue<E> exte
1174       * the given predecessor.
1175       *
1176       * @param pred a node that was at one time known to be the
1177 <     * predecessor of s, or null or s itself if s is/was at head
1177 >     * predecessor of s
1178       * @param s the node to be unspliced
1179       */
1180      final void unsplice(Node pred, Node s) {
1181 +        // assert pred != null;
1182 +        // assert s != null;
1183 +        // assert s.isMatched();
1184          s.waiter = null; // disable signals
1185          /*
1186           * See above for rationale. Briefly: if pred still points to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines