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

Denghui Dong ddong at openjdk.org
Tue Jan 9 05:26:43 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/ba53ed56..c635b10d

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

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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