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

Comparing jsr166/src/test/loops/CollectionWordLoops.java (file contents):
Revision 1.6 by jsr166, Tue Mar 15 19:47:05 2011 UTC vs.
Revision 1.7 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 114 | Line 114 | public class CollectionWordLoops {
114          long startTime = System.currentTimeMillis();
115          runner.run();
116          long afterRun = System.currentTimeMillis();
117 <        long runTime =  (afterRun - startTime);
117 >        long runTime = afterRun - startTime;
118          int np = runner.total;
119          if (runner.total == runner.hashCode())
120              System.out.println("Useless Number" + runner.total);
# Line 173 | Line 173 | public class CollectionWordLoops {
173                  if (r < pctrem) {
174                      collection.remove(k);
175                      ++nremoves;
176 <                    j += ((r >>> 8) & 7) +  n / 2;
176 >                    j += ((r >>> 8) & 7) + n / 2;
177                      if (j >= n) j -= n;
178                  }
179              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines