RFR: JDK-8300783: Consolidate byteswap implementations [v9]

Justin King jcking at openjdk.org
Wed Jan 25 15:52:34 UTC 2023


> Deduplicate byte swapping implementations by consolidating them into `utilities/byteswap.hpp`, following `std::byteswap` introduced in C++23. Further simplification of `Bytes` will follow in https://github.com/openjdk/jdk/pull/12078.

Justin King has updated the pull request incrementally with one additional commit since the last revision:

  Consolidate more byteswap implementations and upgrade bit reversal
  
  Signed-off-by: Justin King <jcking at google.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12114/files
  - new: https://git.openjdk.org/jdk/pull/12114/files/f6996e1a..56e5c235

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12114&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12114&range=07-08

  Stats: 196 lines in 3 files changed: 97 ins; 25 del; 74 mod
  Patch: https://git.openjdk.org/jdk/pull/12114.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12114/head:pull/12114

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


More information about the hotspot-jfr-dev mailing list