Class JMHSample_16_CompilerControl
java.lang.Object
org.openjdk.jmh.samples.JMHSample_16_CompilerControl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbaseline()voidblank()voidvoidexclude()voidinline()static voidvoidThese are our targets: - first method is prohibited from inlining - second method is forced to inline - third method is prohibited from compiling We might even place the annotations directly to the benchmarked methods, but this expresses the intent more clearly.voidvoidvoid
-
Constructor Details
-
JMHSample_16_CompilerControl
public JMHSample_16_CompilerControl()
-
-
Method Details
-
target_blank
public void target_blank()These are our targets: - first method is prohibited from inlining - second method is forced to inline - third method is prohibited from compiling We might even place the annotations directly to the benchmarked methods, but this expresses the intent more clearly. -
target_dontInline
public void target_dontInline() -
target_inline
public void target_inline() -
target_exclude
public void target_exclude() -
baseline
public void baseline() -
blank
public void blank() -
dontinline
public void dontinline() -
inline
public void inline() -
exclude
public void exclude() -
main
- Throws:
RunnerException
-