@Inherited @Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface Fork
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 all
Benchmark
methods in the class. This annotation may be overridden with
the runtime options.
Modifier and Type | Fields and Description |
---|---|
static String |
BLANK_ARGS |
static int |
BLANK_FORKS |
Modifier and Type | Optional Element and Description |
---|---|
String |
jvm |
String[] |
jvmArgs |
String[] |
jvmArgsAppend |
String[] |
jvmArgsPrepend |
int |
value |
int |
warmups |
public static final String BLANK_ARGS
public abstract int value
public abstract int warmups
public abstract String jvm
public abstract String[] jvmArgs
public abstract String[] jvmArgsPrepend
public abstract String[] jvmArgsAppend
Copyright © 2012–2020 Oracle. All rights reserved.