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

Comparing jsr166/src/jsr166y/LinkedTransferQueue.java (file contents):
Revision 1.68 by jsr166, Sun Nov 15 01:53:11 2009 UTC vs.
Revision 1.70 by jsr166, Sun Nov 15 02:29:12 2009 UTC

# Line 343 | Line 343 | public class LinkedTransferQueue<E> exte
343       * When these cases arise, rather than always retraversing the
344       * entire list to find an actual predecessor to unlink (which
345       * won't help for case (1) anyway), we record a conservative
346 <     * estimate of possible unsplice failures (in "sweepVotes).  We
346 >     * estimate of possible unsplice failures (in "sweepVotes").  We
347       * trigger a full sweep when the estimate exceeds a threshold
348       * indicating the maximum number of estimated removal failures to
349       * tolerate before sweeping through, unlinking cancelled nodes
# Line 876 | Line 876 | public class LinkedTransferQueue<E> exte
876      }
877  
878      /**
879 <     * Unlink matched nodes encountered in a traversal from head
879 >     * Unlinks matched nodes encountered in a traversal from head.
880       */
881      private void sweep() {
882          Node p = head, s, n;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines