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.193 by dl, Wed Aug 7 14:31:03 2013 UTC vs.
Revision 1.194 by jsr166, Mon Sep 16 14:52:48 2013 UTC

# Line 2060 | Line 2060 | public class ForkJoinPool extends Abstra
2060                      w.currentSteal = ps;
2061                  }
2062              }
2063 <            else if (active) {       // decrement active count without queuing
2063 >            else if (active) {      // decrement active count without queuing
2064                  long nc = ((c = ctl) & ~AC_MASK) | ((c & AC_MASK) - AC_UNIT);
2065                  if ((int)(nc >> AC_SHIFT) + parallelism == 0)
2066                      break;          // bypass decrement-then-increment

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines