I created a PR[1] to optimize the implementation of `nextBytes` in Random and RandomGenerator by using Unsafe and ByteArrayLittleEndian.
JMH benchmarking says it's very useful, with performance improvements of up to 180% in some cases. Would anyone like to take a look at it? Glavo [1]: https://github.com/openjdk/jdk/pull/14638