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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.301 by jsr166, Mon Mar 14 16:59:27 2016 UTC vs.
Revision 1.302 by jsr166, Mon Mar 14 17:54:54 2016 UTC

# Line 954 | Line 954 | public class ForkJoinPool extends Abstra
954          }
955  
956          /**
957 <         * If present, removes task from queue and executes
957 >         * If present, removes task from queue and executes it.
958           */
959          final void tryRemoveAndExec(ForkJoinTask<?> task) {
960              ForkJoinTask<?>[] wa; int s, wal;
# Line 992 | Line 992 | public class ForkJoinPool extends Abstra
992  
993          /**
994           * Tries to steal and run tasks within the target's
995 <         * computation until done, not found, or limit exceeded
995 >         * computation until done, not found, or limit exceeded.
996           *
997           * @param task root of CountedCompleter computation
998           * @param limit max runs, or zero for no limit
# Line 1040 | Line 1040 | public class ForkJoinPool extends Abstra
1040          // Operations on shared queues
1041  
1042          /**
1043 <         * Tries to lock shared queue by CASing phase field
1043 >         * Tries to lock shared queue by CASing phase field.
1044           */
1045          final boolean tryLockSharedQueue() {
1046              return U.compareAndSwapInt(this, PHASE, 0, QLOCK);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines