RFR: 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Alan Bateman
alanb at openjdk.org
Thu Feb 2 07:06:22 UTC 2023
On Wed, 1 Feb 2023 15:51:33 GMT, kabutz <duke at openjdk.org> wrote:
> ThreadLocalRandom.current().doubles().parallel() had a bad regression, because it called the superclass methods of the ThreadLocalRandomProxy's nextDouble() method instead of delegating to the ThreadLocalRandom.current().
>
> Affects all versions of ThreadLocalRandom since Java 17.
Marked as reviewed by alanb (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/12366
More information about the core-libs-dev
mailing list