> `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 incorrect comments ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14636/files - new: https://git.openjdk.org/jdk/pull/14636/files/4ac26325..217caa3c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14636&range=04-05 Stats: 16 lines in 2 files changed: 0 ins; 16 del; 0 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