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

Comparing jsr166/src/test/loops/NoopSpinLockLoops.java (file contents):
Revision 1.5 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.6 by jsr166, Thu Dec 18 18:13:06 2014 UTC

# Line 24 | Line 24 | public final class NoopSpinLockLoops {
24          new ReentrantLockLoop(1).test();
25          print = true;
26  
27 <        int k = 1;
28 <        for (int i = 1; i <= maxThreads;) {
27 >        for (int k = 1, i = 1; i <= maxThreads;) {
28              System.out.print("Threads: " + i);
29              new ReentrantLockLoop(i).test();
30              Thread.sleep(100);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines