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

Comparing jsr166/src/test/loops/CASLoops.java (file contents):
Revision 1.7 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.9 by jsr166, Wed Dec 31 17:00:58 2014 UTC

# Line 27 | Line 27
27   */
28  
29  
30 + import java.util.concurrent.*;
31   import java.util.concurrent.atomic.AtomicInteger;
31 import java.util.concurrent.atomic.AtomicLong;
32   import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
33 < import java.util.concurrent.*;
33 > import java.util.concurrent.atomic.AtomicLong;
34   import java.util.concurrent.locks.*;
35  
36   public class CASLoops {
# Line 579 | Line 579 | public class CASLoops {
579              System.out.println("threads : " + i +
580                                 " base iters per thread per run : " +
581                                 LoopHelpers.rightJustify(loopIters[i]));
582 <        long ntime = runNonAtomic(i,  iters);
582 >        long ntime = runNonAtomic(i, iters);
583          if (print)
584              report("Base        : ", ntime, ntime, i, iters);
585          Thread.sleep(100L);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines