Package org.openjdk.jmh.annotations
Annotation Type Fork
-
@Inherited @Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface Fork
Fork annotation allows to set the default forking parameters for the benchmark.This annotation may be put at
Benchmark
method to have effect on that method only, or at the enclosing class instance to have the effect over allBenchmark
methods in the class. This annotation may be overridden with the runtime options.
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
BLANK_ARGS
static int
BLANK_FORKS
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
jvm
java.lang.String[]
jvmArgs
java.lang.String[]
jvmArgsAppend
java.lang.String[]
jvmArgsPrepend
int
value
int
warmups
-