Mercurial > hg > truffle
diff src/share/vm/utilities/quickSort.hpp @ 4708:3c648b9ad052
7121373: Clean up CollectedHeap::is_in
Summary: Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.
Reviewed-by: brutisso, tonyp, jcoomes
author | stefank |
---|---|
date | Wed, 14 Dec 2011 12:15:26 +0100 |
parents | 04760e41b01e |
children |
line wrap: on
line diff
--- a/src/share/vm/utilities/quickSort.hpp Fri Dec 09 19:28:34 2011 -0800 +++ b/src/share/vm/utilities/quickSort.hpp Wed Dec 14 12:15:26 2011 +0100 @@ -130,7 +130,7 @@ static void print_array(const char* prefix, int* array, int length); static bool compare_arrays(int* actual, int* expected, int length); template <class C> static bool sort_and_compare(int* arrayToSort, int* expectedResult, int length, C comparator, bool idempotent = false); - static bool test_quick_sort(); + static void test_quick_sort(); #endif };