RFR: 8044659: Java SecureRandom on SPARC T4 much slower than on x86/Linux

Sean Mullan sean.mullan at oracle.com
Tue Jul 22 19:59:47 UTC 2014


Looks fine to me.

--Sean

On 07/22/2014 01:44 PM, Rob McKenna wrote:
> Hi folks,
>
> When repeatedly gathering small amounts of random data the SUN provider
> is quicker ucrypto / pkcs11. This proposed fix from Brad allows ucrypto
> / pkcs11 leverage the SUN SHA1 provider for SHA1PRNG. This allows us to
> avoid the overhead of calling into the native level repeatedly for small
> amounts of random data and allows ucrypto / pkcs11 to perform as well as
> SUN for this particular corner case.
>
> Testcase attached to the bug.
>
> http://cr.openjdk.java.net/~robm/8044659/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8044659
>
>      -Rob
>



More information about the security-dev mailing list