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

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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines