8301637: ThreadLocalRandom.current().doubles().parallel() contention

Reviewed-by: alanb
This commit is contained in:
Dr Heinz M. Kabutz 2023-02-02 18:28:47 +00:00 committed by Tagir F. Valeev
parent c647ae6c32
commit cf6b9eb8c8

View file

@ -437,6 +437,10 @@ public final class ThreadLocalRandom extends Random {
public long nextLong() {
return ThreadLocalRandom.current().nextLong();
}
public double nextDouble() {
return ThreadLocalRandom.current().nextDouble();
}
}
/**