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

Per Minborg pminborg at openjdk.org
Wed Jan 25 19:05:30 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.

src/java.base/share/classes/module-info.java line 275:

> 273:     exports jdk.internal.util.random to
> 274:         jdk.random;
> 275:     exports jdk.internal.util to

Added coupling I am afraid.

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

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


More information about the core-libs-dev mailing list