RFR: 8357915: SecureRandom nextLong memory usage [v2]
Koushik Muthukrishnan Thirupattur
duke at openjdk.org
Thu Jul 3 05:23:46 UTC 2025
On Tue, 1 Jul 2025 02:02:33 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> The suggestion in the issue was to switch to RandomGenerator.nextLong() can you provide an explanation as to why that is not an acceptable solution. It would avoid any allocation. Thanks
As per our offline discussion, I am keeping this change of overriding nextlong() in secure random. Thanks!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26005#issuecomment-3030784772
More information about the security-dev
mailing list