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.2 by jsr166, Wed Sep 1 06:41:55 2010 UTC vs.
Revision 1.3 by jsr166, Wed Sep 1 07:47:27 2010 UTC

# Line 15 | Line 15 | class ScalarLongSort {
15      static int THRESHOLD;
16      static final boolean warmup = true;
17  
18 <    public static void main (String[] args) throws Exception {
18 >    public static void main(String[] args) throws Exception {
19          int n = 1 << 22;
20          int sreps = 2;
21          int reps = 20;
# Line 181 | Line 181 | class ScalarLongSort {
181  
182      }
183  
184 <    static void checkSorted (long[] a)  {
184 >    static void checkSorted(long[] a)  {
185          int n = a.length;
186          for (int i = 0; i < n - 1; i++) {
187              if (a[i] > a[i+1]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines