On Fri, 5 Jun 2026 06:48:55 GMT, Aleksey Shipilev <[email protected]> wrote:

>> You're right. Entacher allows either. The disadvantage of eliding `+1` is 
>> that if (because of some unknown bug) `state` should ever become zero, it'll 
>> be zero forever. To the best of my knowledge this never happens,so adding 1 
>> is a defence-in-depth thing. I'd appreciate your opinion on this.
>
> I think defense in depth is good here, I do not like surprises showing up 
> accidentally in production. So let's add `+1` to LCGs everywhere, starting 
> from here.

Still not fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28541#discussion_r3414212857

Reply via email to