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

Comparing jsr166/src/test/loops/ScalarLongSort.java (file contents):
Revision 1.9 by dl, Fri Aug 19 11:25:04 2011 UTC vs.
Revision 1.10 by jsr166, Mon Oct 10 16:59:04 2011 UTC

# Line 13 | Line 13 | class ScalarLongSort {
13      static int THRESHOLD = -1;
14      static final boolean warmup = true;
15  
16 <    public static void main (String[] args) throws Exception {
16 >    public static void main(String[] args) throws Exception {
17          int procs = 0;
18          int n = 1 << 22;
19          int reps = 20;
# Line 209 | Line 209 | class ScalarLongSort {
209  
210      }
211  
212 <    static void checkSorted (long[] a) {
212 >    static void checkSorted(long[] a) {
213          int n = a.length;
214          for (int i = 0; i < n - 1; i++) {
215              if (a[i] > a[i+1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines