Javac benchmarks

Staffan Friberg staffan.friberg at oracle.com
Wed Jan 22 13:30:19 PST 2014


Hi,

When running Javac as JMH microbenchmark it automatically picks up the 
annotation processor files that JMH use when generating the microbenchmarks.

This happens because the runtime microbenchmark.jar still contains the 
META-INF/services/javax.annotation.processing.Processor file which 
enumerates the annotation processing classes.

Would it be possible to automatically remove/not include this file when 
building the runtime microbenchmark.jar file?
Guess this would not really be a change in JMH itself, but rather in a 
HOWTO or example pom.xml file on how to best use JMH.

Cheers,
Staffan




More information about the jmh-dev mailing list