RFR: 8296746: NativePRNG SecureRandom doesn't scale with threads [v2]

Xubo Zhang duke at openjdk.org
Thu Nov 17 20:22:25 UTC 2022


On Wed, 16 Nov 2022 20:59:24 GMT, Volodymyr Paprotski <duke at openjdk.org> wrote:

> Any ideas why it is not scaling linearly with number of threads? One would think that random numbers are the 'definition' of data-independent and should scale linearly with number of CPUs

it could be that the singleton RandomIO object has to be serialized among multiple threads

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

PR: https://git.openjdk.org/jdk/pull/11069


More information about the security-dev mailing list