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

Comparing jsr166/src/test/loops/FibTask.java (file contents):
Revision 1.3 by jsr166, Sat Oct 16 16:22:56 2010 UTC vs.
Revision 1.5 by jsr166, Wed Jul 4 20:07:01 2012 UTC

# Line 33 | Line 33 | public final class FibTask extends Recur
33          }
34  
35          for (int reps = 0; reps < 2; ++reps) {
36 <            ForkJoinPool g = procs == 0? new ForkJoinPool() :
36 >            ForkJoinPool g = (procs == 0) ? new ForkJoinPool() :
37                  new ForkJoinPool(procs);
38              lastStealCount = g.getStealCount();
39              for (int i = 0; i < 20; ++i) {
# Line 102 | Line 102 | public final class FibTask extends Recur
102          return r;
103      }
104   }
105

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines