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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.82 by jsr166, Thu May 2 05:56:15 2013 UTC vs.
Revision 1.83 by dl, Fri Jun 7 23:56:37 2013 UTC

# Line 855 | Line 855 | public class LinkedBlockingQueue<E> exte
855              if (!exhausted &&
856                  ((h = current) != null || (h = q.head.next) != null) &&
857                  h.next != null) {
858 <                Object[] a;
859 <                try {
860 <                    a = new Object[n];
861 <                } catch (OutOfMemoryError oome) {
862 <                    return null;
863 <                }
858 >                Object[] a = new Object[n];
859                  int i = 0;
860                  Node<E> p = current;
861                  q.fullyLock();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines