Details
-
Improvement
-
Resolution: Done
-
Unknown
-
None
-
None
Description
The driver uses ThreadLocalRandom in a couple of places. It's not clear how ThreadLocalRandom will work in a world with millions of virtual threads. It appears that in Java 19 ThreadLocalRandom#localInit will be called on every invocation of ThreadLocalRandom#current, which seems undesirable.