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

Comparing jsr166/src/jdk7/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.24 by jsr166, Sat Jul 20 20:34:40 2013 UTC vs.
Revision 1.25 by jsr166, Mon Sep 16 14:52:48 2013 UTC

# Line 2097 | Line 2097 | public class ForkJoinPool extends Abstra
2097                      w.currentSteal = ps;
2098                  }
2099              }
2100 <            else if (active) {       // decrement active count without queuing
2100 >            else if (active) {      // decrement active count without queuing
2101                  long nc = ((c = ctl) & ~AC_MASK) | ((c & AC_MASK) - AC_UNIT);
2102                  if ((int)(nc >> AC_SHIFT) + parallelism == 0)
2103                      break;          // bypass decrement-then-increment

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines