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.97 by jsr166, Tue Mar 15 19:47:02 2011 UTC vs.
Revision 1.98 by dl, Mon Mar 21 23:29:03 2011 UTC

# Line 1146 | Line 1146 | public class ForkJoinPool extends Abstra
1146                          ws[k] = w;
1147                          nextWorkerIndex = k + 1;
1148                          int m = g & SMASK;
1149 <                        g = k >= m? ((m << 1) + 1) & SMASK : g + (SG_UNIT<<1);
1149 >                        g = k > m? ((m << 1) + 1) & SMASK : g + (SG_UNIT<<1);
1150                      }
1151                  } finally {
1152                      scanGuard = g;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines