ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collection/RemoveMicroBenchmark.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collection/RemoveMicroBenchmark.java (file contents):
Revision 1.10 by jsr166, Thu Dec 29 18:11:57 2016 UTC vs.
Revision 1.11 by jsr166, Thu Dec 29 18:26:21 2016 UTC

# Line 404 | Line 404 | public class RemoveMicroBenchmark {
404                                  it.remove();
405                              }
406                          }
407 +                        it = x.iterator();
408                          while (it.hasNext()) {
409                              sum[0] += it.next();
410                              it.remove();
411                          }
411                        it = x.iterator();
412                          check.sum(sum[0]);}}},
413              new Job(description + " clear") {
414                  public void work() throws Throwable {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines