--- old/src/share/vm/utilities/quickSort.cpp 2014-11-18 07:33:20.718708000 -0800 +++ new/src/share/vm/utilities/quickSort.cpp 2014-11-18 07:33:20.139576000 -0800 @@ -214,8 +214,8 @@ sort(test_array, length, test_even_odd_comparator, true); assert(compare_arrays(test_array, expected_array, length), "Sorting already sorted array changed order of elements - not idempotent"); - FREE_C_HEAP_ARRAY(int, test_array, mtInternal); - FREE_C_HEAP_ARRAY(int, expected_array, mtInternal); + FREE_C_HEAP_ARRAY(int, test_array); + FREE_C_HEAP_ARRAY(int, expected_array); } }