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

Brian Burkhalter bpb at openjdk.org
Wed Jan 25 22:57:16 UTC 2023


On Wed, 25 Jan 2023 16:39:04 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR suggests improving performance by using the newly introduced class `jdk.internal.util.ByteArray` to improve packing/unpacking operations.
> 
> The PR also proposes adding a `ByteArrayLittleEndian` class for support for little endian packing/unpacking.

Looks good overall. Did you measure any performance changes in the image streams? (Note that this PR and its corresponding issue are missing "Stream" in the title.)

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

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


More information about the core-libs-dev mailing list