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

Comparing jsr166/src/test/loops/DynamicAsyncFib.java (file contents):
Revision 1.1 by dl, Sun Sep 19 12:55:36 2010 UTC vs.
Revision 1.2 by jsr166, Mon Sep 20 20:42:37 2010 UTC

# Line 9 | Line 9 | import java.util.concurrent.*;
9   public final class DynamicAsyncFib  extends BinaryAsyncAction {
10      int number;
11  
12 <    public DynamicAsyncFib(int n) {
12 >    public DynamicAsyncFib(int n) {
13          this.number = n;
14      }
15  
# Line 49 | Line 49 | public final class DynamicAsyncFib  exte
49          }
50  
51          for (int reps = 0; reps < 2; ++reps) {
52 <            ForkJoinPool g = procs == 0? new ForkJoinPool() :
52 >            ForkJoinPool g = procs == 0? new ForkJoinPool() :
53                  new ForkJoinPool(procs);
54              lastStealCount = g.getStealCount();
55              for (int i = 0; i < 20; ++i) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines