Mercurial > hg > truffle
diff src/share/vm/utilities/quickSort.cpp @ 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 | 6fd81579526f |
children | f2aebc22372a 6f817ce50129 |
line wrap: on
line diff
--- a/src/share/vm/utilities/quickSort.cpp Fri Dec 09 19:28:34 2011 -0800 +++ b/src/share/vm/utilities/quickSort.cpp Wed Dec 14 12:15:26 2011 +0100 @@ -93,8 +93,7 @@ return compare_arrays(arrayToSort, expectedResult, length); } -bool QuickSort::test_quick_sort() { - tty->print_cr("test_quick_sort"); +void QuickSort::test_quick_sort() { { int* test_array = NULL; int* expected_array = NULL; @@ -214,7 +213,6 @@ delete[] test_array; delete[] expected_array; } - return true; } #endif