RFR: 8300235: Use VarHandle access in Image(Input | Output)Impl classes

Per Minborg pminborg at openjdk.org
Wed Jan 25 19:05:29 UTC 2023


This PR suggests improving performance by using the newly introduced class `jdk.internal.util.ByteArray` to improve packing/unpacking operations.

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

Commit messages:
 - Remove comments
 - Add little endian performance improvements
 - Use jdk.internal.util.ByteArray for pack/unpack

Changes: https://git.openjdk.org/jdk/pull/12204/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12204&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300235
  Stats: 279 lines in 5 files changed: 8 ins; 144 del; 127 mod
  Patch: https://git.openjdk.org/jdk/pull/12204.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12204/head:pull/12204

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


More information about the core-libs-dev mailing list