RFR: 8061282: Migrate jmh-jdk-microbenchmarks into the JDK

Eric Caspole eric.caspole at oracle.com
Thu Oct 18 21:14:32 UTC 2018

Looks good!

On 10/18/18 17:03, Claes Redestad wrote:
> Hi,
> as the final part of JEP 230: Microbenchmarks Suite, I propose migrating 
> all microbenchmarks from the codetools jmh-jdk-microbenchmarks project 
> into the JDK:
> http://cr.openjdk.java.net/~redestad/8061282/jdk.00/
> This is built on top of the patch for JDK-8061281, and makes the 
> entirety of this suite readily available to build, run and experiment 
> with from the main jdk repos.
> While the future of the codetools jmh-jdk-microbenchmarks project is out 
> of scope for JEP 230, it has been suggested it could be kept alive as a 
> stabilization target and that stable microbenchmarks should be kept out 
> of the jdk. That discussion is partly out of scope here, but I believe 
> it makes sense to keep a copy in the JDK suite precisely because the 
> benchmark will be compiled with the platform javac, meaning a different 
> set of bugs, regressions and improvements will be discoverable.
> Two micros, org.openjdk.bench.java.lang.invoke.Indify and 
> org.opendjk.bench.java.lang.reflect.GetAnnotation need special build 
> treatment and will need to be dealt with in a follow-up.
> Thanks!
> /Claes

More information about the jdk-dev mailing list