RFR: 8334015: Add Support for UUID Version 7 (UUIDv7) defined in RFC 9562 [v13]
Kieran Farrell
kfarrell at openjdk.org
Thu Sep 11 15:06:59 UTC 2025
On Thu, 11 Sep 2025 13:59:07 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Thanks Roger, I have updated the name accordingly. WRT updating the implementation to use nextLong(), since we are no longer using the higher percision bits in the first half of the UUID, we are using random bits in their place, so we would need to call `nextLong` twice and overwrite with the timestamp etc. if I understand correctly. From what ive seen in the microbenchmarks, this results in a large perfomance dec.
>
> ok, looks good, allow some time for the other interested commenters to approve.
will do, thanks Roger
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25303#discussion_r2341331534
More information about the core-libs-dev
mailing list