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

Comparing jsr166/src/main/java/util/concurrent/CountedCompleter.java (file contents):
Revision 1.70 by dl, Sun Nov 14 16:19:13 2021 UTC vs.
Revision 1.71 by dl, Fri Mar 18 16:01:42 2022 UTC

# Line 701 | Line 701 | public abstract class CountedCompleter<T
701          if (q != null && maxTasks > 0)
702              q.helpComplete(this, owned, maxTasks);
703      }
704
704      // ForkJoinTask overrides
705  
706      /**
# Line 748 | Line 747 | public abstract class CountedCompleter<T
747      protected void setRawResult(T t) { }
748  
749      /*
750 <      This class uses
751 <     * jdk-internal Unsafe for atomics and special memory modes,
752 <     * rather than VarHandles, to avoid initialization dependencies in
753 <     * other jdk components that require early parallelism.
750 >     * This class uses jdk-internal Unsafe for atomics and special
751 >     * memory modes, rather than VarHandles, to avoid initialization
752 >     * dependencies in other jdk components that require early
753 >     * parallelism.
754       */
755      private static final Unsafe U;
756      private static final long PENDING;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines