JDK 8 RFR 6470700: Math.random() / Math.initRNG() uses "double checked locking"
Alan.Bateman at oracle.com
Thu Aug 22 19:46:38 UTC 2013
On 22/08/2013 20:41, Brian Burkhalter wrote:
> JDK 8 Reviewers:
> The proposed patch is here:
> JTREG tests pass and JMH benchmarking shows a very slight performance improvement versus the extant code.
It looks okay to me although the downside of this idiom is yet another
class (which I assume can private btw).
More information about the core-libs-dev