RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v9]
Glavo
duke at openjdk.org
Tue Jun 27 20:29:36 UTC 2023
> `ByteArray` and `ByteArrayLittleEndian` are very useful tool classes that can be used in many places to performance tuning.
>
> Currently they are implemented by `VarHandle`, so using them may have some impact on startup time.
>
> This PR reimplements them using `Unsafe`, which reduces the impact on startup time.
Glavo has updated the pull request incrementally with one additional commit since the last revision:
add 8310843 to @bug
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14636/files
- new: https://git.openjdk.org/jdk/pull/14636/files/609170c0..7cfef770
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=08
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=07-08
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14636.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14636/head:pull/14636
PR: https://git.openjdk.org/jdk/pull/14636
More information about the core-libs-dev
mailing list