RFR: JDK-8300582: Introduce interface for unaligned memory accesses [v7]

Justin King jcking at openjdk.org
Fri Jan 20 16:05:10 UTC 2023


> Introduce interface for unaligned memory accesses `UnalignedAccess`, consolidate the byte swapping implementation to `byteswap`, and switch to a generic implementation of `Bytes`.

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

  Fix Bytes::swap implementation to only swap on little endian
  
  Signed-off-by: Justin King <jcking at google.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12078/files
  - new: https://git.openjdk.org/jdk/pull/12078/files/e2c5eba1..6d20e943

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12078&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12078&range=05-06

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

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


More information about the hotspot-dev mailing list