<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 18/11/2025 17:44, James Yuzawa
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:DC08E336-4682-4B24-95A7-59E5017C483E@gmail.com">
      <pre wrap="" class="moz-quote-pre">Hello,

I have noticed in Java 25 (and earlier versions) that calling ThreadLocalRandom.current().nextGaussian() uses the Random.nextGaussian() implementation, which is synchronized. Under heavy load in a multithreaded environment, I was detecting lock contention.


</pre>
    </blockquote>
    I think this is a mistake that crept in with JEP 356 in JDK 17 and
    the follow up work. We need to create an issue in JBS to track this.<br>
    <br>
    -Alan<br>
  </body>
</html>