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.7 by jsr166, Wed Sep 1 07:20:36 2010 UTC vs.
Revision 1.9 by jsr166, Fri Jan 2 16:57:15 2015 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 12 | Line 12 | public class ExchangeLoops {
12      static final int NCPUS = Runtime.getRuntime().availableProcessors();
13  
14      static final int  DEFAULT_THREADS = NCPUS + 2;
15 <    static final long DEFAULT_TRIAL_MILLIS   = 10000;
15 >    static final long DEFAULT_TRIAL_MILLIS = 10000;
16  
17      public static void main(String[] args) throws Exception {
18          int maxThreads = DEFAULT_THREADS;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines