RFR: 8308803: Improve java/util/UUID/UUIDTest.java [v2]

Aleksey Shipilev shade at openjdk.org
Tue May 30 09:15:13 UTC 2023


> UUID is very important class that is used to track identities of objects in large scale systems. Yet, the coverage in JDK test is disappointing: it tests only 100 of UUID instances per test, which is way too small to detect collisions due to the bad randomness for example.
> 
> I have some pending work to improve UUID performance, and tests should be improved. 
> 
> The improved test still runs in less than 5 seconds on my laptop.

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14134/files
  - new: https://git.openjdk.org/jdk/pull/14134/files/1d302502..48d6bc5c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14134&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14134&range=00-01

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/14134.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14134/head:pull/14134

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


More information about the core-libs-dev mailing list