mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8185757: QuickSort array size should be size_t
Changed array size type, propogate effects. Reviewed-by: tschatzl, coleenp
This commit is contained in:
parent
a41ebc645a
commit
d6e905a18a
4 changed files with 39 additions and 39 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue