On Fri, 6 Oct 2023 14:20:13 GMT, Claes Redestad <redes...@openjdk.org> wrote:
> FWIW I'll not review or sponsor any PRs that use `ByteArrayLittleEndian` for > trivial `byte[]` writes until there's been a thorough analysis of why this > helps and shown that JITs can't be expected to generate code that is as > optimal. Thanks, I received your opinion and I have removed ByteArrayLittleEndian. Such optimization should be done by JIT. It seems that this optimization is called SuperWord Level Parallelism (SLP). Currently, HotSpot C2 has only completed the loop version and not the linear version. Improvements require JIT experts to submit patches. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15768#issuecomment-1751137676