Integrated: 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort

Denghui Dong ddong at openjdk.org
Fri Jan 12 15:24:32 UTC 2024


On Mon, 25 Dec 2023 15:34:55 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> A minor improvement could be made for bubble sort in SuperWord::packset_sort to reduce the comparison count in bad cases.
> 
> See https://en.wikipedia.org/wiki/Bubble_sort

This pull request has now been integrated.

Changeset: c5e72450
Author:    Denghui Dong <ddong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c5e72450966ad50d57a8d22e9d634bfcb319aee9
Stats:     7 lines in 1 file changed: 0 ins; 2 del; 5 mod

8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort

Reviewed-by: epeter, kvn

-------------

PR: https://git.openjdk.org/jdk/pull/17190


More information about the hotspot-compiler-dev mailing list