-
Enhancement
-
Resolution: Fixed
-
P4
-
10, 11
-
b12
A DESCRIPTION OF THE PROBLEM :
The method java.util.Random.seedUniquifier() uses a Linear Congruential Generator constant that is commented to be taken from L'Ecuyer, "Tables of Linear Congruential Generators of Different Sizes and Good Lattice Structure", 1999.
The constant used in the code is 181783497276652981L. But according to the referenced document, Table 5 for m=2^64, the value should be 1181783497276652981L.
The method java.util.Random.seedUniquifier() uses a Linear Congruential Generator constant that is commented to be taken from L'Ecuyer, "Tables of Linear Congruential Generators of Different Sizes and Good Lattice Structure", 1999.
The constant used in the code is 181783497276652981L. But according to the referenced document, Table 5 for m=2^64, the value should be 1181783497276652981L.
- relates to
-
JDK-6937857 Concurrent calls to new Random() not random enough
-
- Closed
-