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

Comparing jsr166/src/main/java/util/concurrent/Phaser.java (file contents):
Revision 1.55 by jsr166, Mon Dec 13 00:19:27 2010 UTC vs.
Revision 1.56 by jsr166, Mon Dec 13 00:39:09 2010 UTC

# Line 266 | Line 266 | public class Phaser {
266      private volatile long state;
267  
268      private static final int  MAX_PARTIES     = 0xffff;
269 <    private static final int  MAX_PHASE       = 0x7fffffff;
269 >    private static final int  MAX_PHASE       = Integer.MAX_VALUE;
270      private static final int  PARTIES_SHIFT   = 16;
271      private static final int  PHASE_SHIFT     = 32;
272    private static final long PHASE_MASK      = -1L << PHASE_SHIFT;
272      private static final int  UNARRIVED_MASK  = 0xffff;      // to mask ints
273      private static final long PARTIES_MASK    = 0xffff0000L; // to mask longs
274      private static final long TERMINATION_BIT = 1L << 63;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines