Integrated: 8333133: Simplify QuickSort::sort
Kim Barrett
kbarrett at openjdk.org
Wed Jun 26 05:21:30 UTC 2024
On Wed, 29 May 2024 18:52:03 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> The "idempotent" argument is removed from that function, with associated
> simplifications to the implementation. Callers are updated to remove that
> argument. Callers that were providing a false value are unaffected in their
> behavior. The 3 callers that were providing a true value to request the
> associated feature are also unaffected (other than by being made faster),
> because the arrays involved don't contain any equivalent pairs.
>
> There are also some miscellaneous cleanups, including using the swap utility
> and fixing some comments.
>
> Testing: mach5 tier1-3
This pull request has now been integrated.
Changeset: 25c3845b
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/25c3845be270462388ee5e7330cc7315e5c738df
Stats: 130 lines in 11 files changed: 5 ins; 97 del; 28 mod
8333133: Simplify QuickSort::sort
Reviewed-by: shade, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/19464
More information about the shenandoah-dev
mailing list