hg: jdk8/tl/jdk: 7189139: BigInteger's staticRandom field can be a source of bottlenecks.

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Thu Oct 10 00:29:26 UTC 2013


Changeset: 673f8045311e
Author:    bpb
Date:      2013-10-09 17:22 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/673f8045311e

7189139: BigInteger's staticRandom field can be a source of bottlenecks.
Summary: Use ThreadLocalRandom instead of SecureRandom.
Reviewed-by: shade, psandoz
Contributed-by: Brian Burkhalter <brian.burkhalter at oracle.com>

! src/share/classes/java/math/BigInteger.java




More information about the security-dev mailing list