Integrated: 8308803: Improve java/util/UUID/UUIDTest.java

Aleksey Shipilev shade at openjdk.org
Thu Jun 1 08:58:18 UTC 2023


On Wed, 24 May 2023 19:18:33 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 4460429d
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4460429d7a50b9a7a99058ef4e5ae36fb30b956f
Stats:     187 lines in 1 file changed: 107 ins; 0 del; 80 mod

8308803: Improve java/util/UUID/UUIDTest.java

Reviewed-by: jpai, rriggs

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

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


More information about the core-libs-dev mailing list