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

Comparing jsr166/src/main/java/util/concurrent/CompletableFuture.java (file contents):
Revision 1.188 by jsr166, Mon Apr 18 18:07:54 2016 UTC vs.
Revision 1.189 by jsr166, Tue Apr 19 22:55:29 2016 UTC

# Line 450 | Line 450 | public class CompletableFuture<T> implem
450      }
451  
452      static void lazySetNext(Completion c, Completion next) {
453 <        U.putOrderedObject(c, NEXT, next);
453 >        U.putObjectRelease(c, NEXT, next);
454      }
455  
456      static boolean casNext(Completion c, Completion cmp, Completion val) {
# Line 2848 | Line 2848 | public class CompletableFuture<T> implem
2848      }
2849  
2850      // Unsafe mechanics
2851 <    private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
2851 >    private static final jdk.internal.misc.Unsafe U = jdk.internal.misc.Unsafe.getUnsafe();
2852      private static final long RESULT;
2853      private static final long STACK;
2854      private static final long NEXT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines