TLS Performance Regression in JDK18+

Carter Kozak ckozak at ckozak.net
Wed Nov 2 18:13:21 UTC 2022


> So aside from the question about running it on any other processors, how 
> do you run jdk18 on your test.  When I typed './gradlew run' it only ran 
> jdk17.

The easiest way is to update the source with '@Fork(value = 1, jvm = "/absolute/path/to/bin/java")'
e.g. https://github.com/carterkozak/java-crypto-allocation-performance/pull/2

Otherwise, you can build a distZip with `./gradlew distZip` which will be
created in 'java-crypto-allocation-performance/build/distributions'
Which has a start script 'bin/java-crypto-allocation-performance' that will
use your JAVA_HOME envvar.

Best,
Carter Kozak



More information about the security-dev mailing list