RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v4]
Glavo
duke at openjdk.org
Sat Jun 24 11:04:08 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:
delete extraneous whitespace
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14636/files
- new: https://git.openjdk.org/jdk/pull/14636/files/20b7c875..8c3a2087
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=02-03
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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