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

Comparing jsr166/src/test/loops/ExchangeLoops.java (file contents):
Revision 1.6 by jsr166, Mon Nov 2 23:42:46 2009 UTC vs.
Revision 1.8 by jsr166, Tue Mar 15 19:47:05 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Bill Scherer and Doug Lea with assistance from members
3   * of JCP JSR-166 Expert Group and released to the public domain, as
4 < * explained at http://creativecommons.org/licenses/publicdomain
4 > * explained at http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   import java.util.concurrent.*;
# Line 32 | Line 32 | public class ExchangeLoops {
32              argc++;
33          }
34  
35 <        // Display runtime parameters
36 <        System.out.print("ExchangeTest");
37 <        System.out.print(" -t " + trialMillis);
35 >        // Display runtime parameters
36 >        System.out.print("ExchangeTest");
37 >        System.out.print(" -t " + trialMillis);
38          System.out.print(" -r " + nReps);
39 <        System.out.print(" max threads " + maxThreads);
40 <        System.out.println();
39 >        System.out.print(" max threads " + maxThreads);
40 >        System.out.println();
41          long warmupTime = 2000;
42          long sleepTime = 100;
43          int nw = (maxThreads >= 3) ? 3 : 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines