Below seems to be the command line when invoking JMH now. It has lots of redundant classpath elements which can skew the benchmarking. It would be good to filter out those, leaving only the true project dependencies. This might push you out to invoke JMH Main directly, without going for IntelliJ's AppMain?
Below seems to be the command line when invoking JMH now. It has lots of redundant classpath elements which can skew the benchmarking. It would be good to filter out those, leaving only the true project dependencies. This might push you out to invoke JMH Main directly, without going for IntelliJ's AppMain?
/home/shade/Install/jdk8u0/bin/java -Didea.launcher.port=7534 -Didea.launcher.bin.path=/home/shade/Install/idea-IU-133.696/bin -Dfile.encoding=UTF-8 -classpath /home/shade/Install/jdk8u0/jre/lib/resources.jar:/home/shade/Install/jdk8u0/jre/lib/management-agent.jar:/home/shade/Install/jdk8u0/jre/lib/jsse.jar:/home/shade/Install/jdk8u0/jre/lib/jce.jar:/home/shade/Install/jdk8u0/jre/lib/deploy.jar:/home/shade/Install/jdk8u0/jre/lib/plugin.jar:/home/shade/Install/jdk8u0/jre/lib/charsets.jar:/home/shade/Install/jdk8u0/jre/lib/javaws.jar:/home/shade/Install/jdk8u0/jre/lib/jfr.jar:/home/shade/Install/jdk8u0/jre/lib/jfxswt.jar:/home/shade/Install/jdk8u0/jre/lib/rt.jar:/home/shade/Install/jdk8u0/jre/lib/ext/jfxrt.jar:/home/shade/Install/jdk8u0/jre/lib/ext/sunpkcs11.jar:/home/shade/Install/jdk8u0/jre/lib/ext/sunjce_provider.jar:/home/shade/Install/jdk8u0/jre/lib/ext/nashorn.jar:/home/shade/Install/jdk8u0/jre/lib/ext/sunec.jar:/home/shade/Install/jdk8u0/jre/lib/ext/zipfs.jar:/home/shade/Install/jdk8u0/jre/lib/ext/dnsns.jar:/home/shade/Install/jdk8u0/jre/lib/ext/localedata.jar:/home/shade/Install/jdk8u0/jre/lib/ext/cldrdata.jar:/home/shade/projects/jmh/jmh-samples/target/classes:/home/shade/projects/jmh/jmh-core/target/classes:/home/shade/.m2/repository/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/home/shade/.m2/repository/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar:/home/shade/Install/idea-IU-133.696/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain org.openjdk.jmh.Main org.openjdk.jmh.samples.JMHSample_01_HelloWorld.wellHelloThere