@Inherited @Target({METHOD,TYPE}) @Retention(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 | Description |
---|---|---|
static String |
BLANK_ARGS |
|
static int |
BLANK_FORKS |
Modifier and Type | Optional Element | Description |
---|---|---|
String |
jvm |
|
String[] |
jvmArgs |
|
String[] |
jvmArgsAppend |
|
String[] |
jvmArgsPrepend |
|
int |
value |
|
int |
warmups |
static final String BLANK_ARGS
int value
String jvm
String[] jvmArgs
String[] jvmArgsPrepend
String[] jvmArgsAppend
Copyright © 2012-2016 Oracle. All Rights Reserved.