After PR #16245, C2 optimizes stores into primitive arrays by combining values into larger stores. In the UUID.toString method, ByteArrayLittleEndian can be removed, making the code more elegant and faster.
------------- Commit messages: - optimization for UUID toString Changes: https://git.openjdk.org/jdk/pull/19610/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19610&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8327791 Stats: 49 lines in 2 files changed: 4 ins; 26 del; 19 mod Patch: https://git.openjdk.org/jdk/pull/19610.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19610/head:pull/19610 PR: https://git.openjdk.org/jdk/pull/19610