Experiment experiment = new Experiment(
allocationInstrument.createInstrumentation(method),
ImmutableMap.<String, String>of(),
new VirtualMachine("foo-jvm",
new VmConfig(new File("foo"), Arrays.asList("--doTheHustle"), new File("java"))));
BenchmarkSpec spec = new BenchmarkSpec.Builder()
.className(TestBenchmark.class.getName())
.methodName(method.getName())
.build();
ProcessBuilder builder = createProcess(experiment, spec);
List<String> commandLine = builder.command();