org.openjdk.jmh.annotations
Annotation Type Fork


@Inherited@Target(value={METHOD,TYPE})@Retention(value=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 all Benchmark methods in the class. This annotation may be overridden with the runtime options.


Optional Element Summary
 String[]jvmArgs
           
 String[]jvmArgsAppend
           
 String[]jvmArgsPrepend
           
 intvalue
           
 intwarmups
           
 

value

public abstract int value
Returns:
number of times harness should fork, zero means "no fork"
Default:
-1

warmups

public abstract int warmups
Returns:
number of times harness should fork and ignore the results
Default:
-1

jvmArgs

public abstract String[] jvmArgs
Returns:
JVM arguments to replace in the command line
Default:
"blank_blank_blank_2014"

jvmArgsPrepend

public abstract String[] jvmArgsPrepend
Returns:
JVM arguments to prepend in the command line
Default:
"blank_blank_blank_2014"

jvmArgsAppend

public abstract String[] jvmArgsAppend
Returns:
JVM arguments to append in the command line
Default:
"blank_blank_blank_2014"


Copyright © 2012-2014
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14