RFR: 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort [v2]

Denghui Dong ddong at openjdk.org
Fri Jan 5 08:57:33 UTC 2024


> 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

Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:

  update

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17190/files
  - new: https://git.openjdk.org/jdk/pull/17190/files/7d64bd8d..ba53ed56

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17190&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17190&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17190.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17190/head:pull/17190

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


More information about the hotspot-compiler-dev mailing list