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

Comparing jsr166/src/test/loops/BoxedLongSort.java (file contents):
Revision 1.8 by jsr166, Sat May 5 17:09:23 2012 UTC vs.
Revision 1.12 by jsr166, Mon Aug 10 03:13:33 2015 UTC

# Line 4 | Line 4
4   * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7 import java.util.concurrent.*;
7   import java.util.*;
8 + import java.util.concurrent.*;
9  
10   class BoxedLongSort {
11      static final long NPS = (1000L * 1000 * 1000);
# Line 165 | Line 165 | class BoxedLongSort {
165           * and finding index of right closest to split point.
166           * Uses left-spine decomposition to generate all
167           * merge tasks before bottomming out at base case.
168         *
168           */
169          public final void compute() {
170              Merger rights = null;
# Line 218 | Line 217 | class BoxedLongSort {
217              //            merge(nleft, nright);
218              if (rights != null)
219                  collectRights(rights);
221
220          }
221  
222          final void merge(int nleft, int nright) {
# Line 290 | Line 288 | class BoxedLongSort {
288          }
289      }
290  
293
291      static final class RandomRepacker extends RecursiveAction {
292          final Long[] src;
293          final Long[] dst;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines