RFR: 8333833: UUID toString removes the use of ByteArrayLittleEndian [v7]
Claes Redestad
redestad at openjdk.org
Mon Jun 10 07:51:14 UTC 2024
On Mon, 10 Jun 2024 07:32:26 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.
>
> 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>
Thanks. I hate to nitpick, but is it OK if I rename the RFE as "Remove the use of ByteArrayLittleEndian from UUID::toString" (the PR need to follow suit). I think the current name might be read as doing something completely different.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19610#issuecomment-2157580938
More information about the core-libs-dev
mailing list