RFR: Remove unnecessary init in AESGCMBench:setup
Claes Redestad
redestad at openjdk.java.net
Wed May 26 10:59:24 UTC 2021
On Wed, 26 May 2021 03:18:54 GMT, Dongbo He <dongbohe at openjdk.org> wrote:
> decryptCipher will be reinitialized in decrypt, which will loses all previously-acquired state. Therefore, it's not necessary to initialize in setup.
Looks ok (I don't have a reviewer bit for this project), but please sync the changes with the microbenchmark in the JDK proper.
-------------
PR: https://git.openjdk.java.net/jmh-jdk-microbenchmarks/pull/8
More information about the jmh-jdk-microbenchmarks-dev
mailing list