RFR: 8300236: Use VarHandle access in Data(Input | Output)Stream classes [v8]

Roger Riggs rriggs at openjdk.org
Tue Jan 24 19:27:06 UTC 2023


On Tue, 24 Jan 2023 12:44:17 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR proposes using a performance optimization using a new supported API for operations similar to those found in `java.io.Bits`
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update RAF

Look good, thanks

test/jdk/jdk/internal/util/ByteArray/ReadWriteValues.java line 197:

> 195: 
> 196:     // At-zero methods
> 197: 

These *AtZero* test methods don't add much value?  It is already testing an offset of 1 in the original tests.

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

Marked as reviewed by rriggs (Reviewer).

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


More information about the core-libs-dev mailing list