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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedQueue.java (file contents):
Revision 1.71 by dl, Tue Feb 22 23:53:32 2011 UTC vs.
Revision 1.72 by dl, Wed Feb 23 15:57:48 2011 UTC

# Line 774 | Line 774 | public class ConcurrentLinkedQueue<E> ex
774      private boolean casTail(Node<E> cmp, Node<E> val) {
775          return UNSAFE.compareAndSwapObject(this, tailOffset, cmp, val);
776      }
777 <    
777 >
778      private boolean casHead(Node<E> cmp, Node<E> val) {
779          return UNSAFE.compareAndSwapObject(this, headOffset, cmp, val);
780      }
781 <    
781 >
782      // Unsafe mechanics
783 <    
783 >
784      private static final sun.misc.Unsafe UNSAFE;
785      private static final long headOffset;
786      private static final long tailOffset;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines