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

Comparing jsr166/src/jsr166y/Phaser.java (file contents):
Revision 1.20 by jsr166, Sat Jul 25 00:34:00 2009 UTC vs.
Revision 1.21 by jsr166, Sun Jul 26 05:55:34 2009 UTC

# Line 968 | Line 968 | public class Phaser {
968      }
969  
970      private static final sun.misc.Unsafe UNSAFE = getUnsafe();
971 <    static final long stateOffset =
971 >    private static final long stateOffset =
972          fieldOffset("state", Phaser.class);
973  
974 <    final boolean casState(long cmp, long val) {
974 >    private final boolean casState(long cmp, long val) {
975          return UNSAFE.compareAndSwapLong(this, stateOffset, cmp, val);
976      }
977   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines