1.1 --- a/src/share/vm/utilities/quickSort.cpp Tue May 14 17:33:07 2013 +0000 1.2 +++ b/src/share/vm/utilities/quickSort.cpp Thu May 16 13:47:55 2013 -0700 1.3 @@ -34,6 +34,7 @@ 1.4 #include "memory/allocation.inline.hpp" 1.5 #include <stdlib.h> 1.6 1.7 +#ifdef ASSERT 1.8 static int test_comparator(int a, int b) { 1.9 if (a == b) { 1.10 return 0; 1.11 @@ -43,6 +44,7 @@ 1.12 } 1.13 return 1; 1.14 } 1.15 +#endif // ASSERT 1.16 1.17 static int test_even_odd_comparator(int a, int b) { 1.18 bool a_is_odd = (a % 2) == 1;