RFR: 8322766: Micro bench SSLHandshake would use modern algorithms [v2]
Daniel Jeliński
djelinski at openjdk.org
Sat Dec 30 09:23:53 UTC 2023
On Sat, 30 Dec 2023 00:48:00 GMT, John Jiang <jjiang at openjdk.org> wrote:
>> test/micro/org/openjdk/bench/java/security/SSLHandshake.java is using keystore type `JKS` and TrustManagerFactory/KeyManagerFactory algorithm `SunX509`.
>> It may be better to use `PKCS12` and `PKIX` respectively.
>
> John Jiang has updated the pull request incrementally with one additional commit since the last revision:
>
> Use default algorithms
Thanks. Users usually use the default algorithms, so benchmarking them is probably more useful than measuring the non-default ones.
There's a [ticket to update the default keyManager algorithm](https://bugs.openjdk.org/browse/JDK-8272875), so it may become the default one day. Did you compare the performance of the different algorithms?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17202#issuecomment-1872490605
More information about the security-dev
mailing list