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

Comparing jsr166/src/test/loops/ConcurrentDequeLoops.java (file contents):
Revision 1.9 by jsr166, Thu Apr 14 23:16:10 2011 UTC vs.
Revision 1.10 by jsr166, Thu Dec 18 18:13:06 2014 UTC

# Line 43 | Line 43 | public class ConcurrentDequeLoops {
43          Thread.sleep(100);
44          print = true;
45  
46 <        int k = 1;
47 <        for (int i = 1; i <= maxStages;) {
46 >        for (int k = 1, i = 1; i <= maxStages;) {
47              oneRun(klass, i, items);
48              if (i == k) {
49                  k = i << 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines