8185757: QuickSort array size should be size_t

Changed array size type, propogate effects.

Reviewed-by: tschatzl, coleenp
This commit is contained in:
Kim Barrett 2017-08-07 20:58:49 -04:00
parent a41ebc645a
commit d6e905a18a
4 changed files with 39 additions and 39 deletions

View file

@ -1631,7 +1631,7 @@ void Method::sort_methods(Array<Method*>* methods, bool idempotent, bool set_idn
if (length > 1) {
{
NoSafepointVerifier nsv;
QuickSort::sort<Method*>(methods->data(), length, method_comparator, idempotent);
QuickSort::sort(methods->data(), length, method_comparator, idempotent);
}
// Reset method ordering
if (set_idnums) {