RFR: 8333833: UUID toString removes the use of ByteArrayLittleEndian [v7]

Shaojin Wen duke at openjdk.org
Mon Jun 10 07:32:26 UTC 2024


> 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.

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/jdk/internal/util/HexDigits.java
  
  Co-authored-by: Claes Redestad <claes.redestad at oracle.com>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/19610/files
  - new: https://git.openjdk.org/jdk/pull/19610/files/035a07ab..780abdf1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19610&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19610&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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


More information about the core-libs-dev mailing list