RFR: 8098581 SecureRandom.nextBytes() hurts performance with small size requests

Anthony Scarpino anthony.scarpino at oracle.com
Tue Dec 1 23:44:55 UTC 2015

Hi all,

I'd like a review of this change.  It improves nextBytes() performance 
by allowing the random buffer to grow and shrink as random data is 
needed and remove the high level synchronization.  Also disable 
SecureRandom for Solaris PKCS11 as it's not as fast as native.




More information about the security-dev mailing list