hotspot/src/share/vm/utilities/quickSort.cpp
changeset 17379 fec16b38217a
parent 17031 9a576749065b
child 17388 8193ee82efbe
--- a/hotspot/src/share/vm/utilities/quickSort.cpp	Fri May 03 09:32:50 2013 +0200
+++ b/hotspot/src/share/vm/utilities/quickSort.cpp	Wed Apr 24 14:26:09 2013 +0200
@@ -32,6 +32,7 @@
 #include "utilities/quickSort.hpp"
 #include <stdlib.h>
 
+#ifdef ASSERT
 static int test_comparator(int a, int b) {
   if (a == b) {
     return 0;
@@ -41,6 +42,7 @@
   }
   return 1;
 }
+#endif // ASSERT
 
 static int test_even_odd_comparator(int a, int b) {
   bool a_is_odd = (a % 2) == 1;