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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java (file contents):
Revision 1.59 by dl, Sat Sep 4 14:57:32 2010 UTC vs.
Revision 1.60 by jsr166, Tue Sep 7 23:17:10 2010 UTC

# Line 394 | Line 394 | public class ConcurrentSkipListMap<K,V>
394          boolean casValue(Object cmp, Object val) {
395              return UNSAFE.compareAndSwapObject(this, valueOffset, cmp, val);
396          }
397 <        
397 >
398          /**
399           * compareAndSet next field
400           */
# Line 3110 | Line 3110 | public class ConcurrentSkipListMap<K,V>
3110      private static final sun.misc.Unsafe UNSAFE = sun.misc.Unsafe.getUnsafe();
3111      private static final long headOffset =
3112          objectFieldOffset(UNSAFE, "head", ConcurrentSkipListMap.class);
3113 <    
3113 >
3114      static long objectFieldOffset(sun.misc.Unsafe UNSAFE,
3115                                    String field, Class<?> klazz) {
3116          try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines