3 ms·
The article hadn't specifically discussed rng period but I see the linked code [1] uses an implementation [2] with a period of 2^128-1 [1] https://github.com/o
by jffry 5y ago
The article hadn't specifically discussed rng period but I see the linked code [1] uses an implementation [2] with a period of 2^128-1
[1] https://github.com/openjdk/jdk/blob/4927ee426aedbeea0f4119bac0a342c6d3576762/src/hotspot/share/runtime/synchronizer.cpp#L760-L798 https://github.com/openjdk/jdk/blob/4927ee426aedbeea0f4119ba...
[2] https://en.wikipedia.org/wiki/Xorshift https://en.wikipedia.org/wiki/Xorshift