-
Type: Improvement
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Internal
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.