Integrated: 8333833: Remove the use of ByteArrayLittleEndian from UUID::toString

Shaojin Wen duke at openjdk.org
Mon Jun 10 08:21:22 UTC 2024


On Sat, 8 Jun 2024 00:19:55 GMT, Shaojin Wen <duke at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 8aa35cac
Author:    Shaojin Wen <shaojin.wensj at alibaba-inc.com>
Committer: Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8aa35cacfcc94d261de102b628eb954c71eae98e
Stats:     52 lines in 2 files changed: 5 ins; 25 del; 22 mod

8333833: Remove the use of ByteArrayLittleEndian from UUID::toString

Reviewed-by: liach, redestad

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

PR: https://git.openjdk.org/jdk/pull/19610


More information about the core-libs-dev mailing list