class SplittableRandom

Aleksey Shipilev aleksey.shipilev at
Fri Aug 9 15:43:24 UTC 2013

On 08/09/2013 04:29 PM, Doug Lea wrote:
> Currently at:

Looks good.

Stupid questions below:

* Why use InetAddress.getLocalHost() for the initial seed? I understand
you don't want to use SecureRandom to dodge the depleted entropy case,
but isn't that the over-optimization to initialize the static seed once
per VM/classloader?

* Is there something in floating point math forcing us to use the
constructions like "if (!(origin < bound))" instead of "if (origin >=


More information about the core-libs-dev mailing list