RFR [XS]: 8248429: Add --enable-preview as VM argument when running microbenchmarks

Peter Levart peter.levart at gmail.com
Sat Jul 11 10:00:17 UTC 2020


On 7/11/20 9:31 AM, Peter Levart wrote:
> - compile the two sets of benchmarks separately with separate output 
> directories and create separate benchmarks.jar files for them 


Here's my attempt at a patch for separate benchmarks.jar files. The 
minor complication, as I found out, was what to do when running the 
micro benchmarks via "make test TEST=..." command when there are two 
possible jar files to choose from. I opted for a separate tag in TEST 
variable, so preview benchmark(s) are run as follows:


make test TEST="micro.preview: ..."


http://cr.openjdk.java.net/~plevart/jdk-dev/8248429_jmh_enable_preview/webrev.02/


WDYT?


Regards, Peter





More information about the build-dev mailing list