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

Roger Riggs rriggs at openjdk.org
Thu Jan 26 16:08:18 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.

Can the benchmark be moved to the JMH framework; it deals with the setup and measurements in a more predictable way.
See test/micro/org/openjdk/bench/jajva/nio/... for examples.

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

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


More information about the core-libs-dev mailing list