specializing jvmArgs in a derived class
Deneau, Tom
tom.deneau at amd.com
Fri Aug 22 17:16:26 UTC 2014
I have a base class with
@Benchmark
public void myBenchmark()
and several derived classes that specialize that benchmark.
In one of the derived classes, I would like to specify that when that derived class forks, certain jvmArgs get added to the jvm command line. Is there a way to do this?
When I tried this in the derived class
@Override
@Benchmark
@Fork(jvmArgs="...")
public void myBenchmark()
I got this error which I don't really understand:
Internal error: multiple methods per @Group, but not all methods have @Group
If I remove the @Benchmark annotation from the derived myBenchmark, that error goes away but the jvmArgs seems to also get ignored.
-- Tom
More information about the jmh-dev
mailing list