RFR 8024253: ThreadLocal random can use SecureRandom for the initial seed

Paul Sandoz paul.sandoz at oracle.com
Sun Sep 15 16:32:46 UTC 2013


Hi,

http://cr.openjdk.java.net/~psandoz/tl/JDK-8024253-tlr-seed/webrev/

Now that the hash seed functionality, which utilized ThreadLocalRandom, has been removed from Hashtable and WeakHashMap we can update TLR to use the same seed initialization functionality as SplittableRandom, which includes using SecureRandom if the system property "java.util.secureRandomSeed" is set to true.

Paul.


More information about the core-libs-dev mailing list