RFR: JDK-8300783: Consolidate byteswap implementations
Justin King
jcking at openjdk.org
Fri Jan 20 15:03:23 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.
-------------
Commit messages:
- Fix typo
- Consolidate byteswap implementations
Changes: https://git.openjdk.org/jdk/pull/12114/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12114&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8300783
Stats: 1051 lines in 21 files changed: 295 ins; 735 del; 21 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-dev
mailing list