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

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.185 by jsr166, Sat Feb 16 20:50:29 2013 UTC vs.
Revision 1.186 by jsr166, Mon Sep 16 14:52:48 2013 UTC

# Line 2127 | Line 2127 | public class ForkJoinPool extends Abstra
2127                      w.runSubtask(t);
2128                  }
2129              }
2130 <            else if (active) {       // decrement active count without queuing
2130 >            else if (active) {      // decrement active count without queuing
2131                  long nc = (c = ctl) - AC_UNIT;
2132                  if ((int)(nc >> AC_SHIFT) + (config & SMASK) == 0)
2133 <                    return;          // bypass decrement-then-increment
2133 >                    return;         // bypass decrement-then-increment
2134                  if (U.compareAndSwapLong(this, CTL, c, nc))
2135                      active = false;
2136              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines