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.154 by jsr166, Tue Jan 31 22:21:17 2017 UTC vs.
Revision 1.155 by jsr166, Thu Feb 2 02:20:02 2017 UTC

# Line 332 | Line 332 | public class LinkedTransferQueue<E> exte
332       *
333       * Without taking these into account, it would be possible for an
334       * unbounded number of supposedly removed nodes to remain reachable.
335 <     * Situations leading to such buildup are uncommon but can occur in
336 <     * practice; for example when a series of short timed calls to poll
337 <     * repeatedly time out but never otherwise fall off the list because
338 <     * of an untimed call to take() at the front of the queue.
335 >     * Situations leading to such buildup are uncommon but can occur
336 >     * in practice; for example when a series of short timed calls to
337 >     * poll repeatedly time out at the trailing node but otherwise
338 >     * never fall off the list because of an untimed call to take() at
339 >     * the front of the queue.
340       *
341       * When these cases arise, rather than always retraversing the
342       * entire list to find an actual predecessor to unlink (which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines