Class JMHSample_16_CompilerControl

java.lang.Object
org.openjdk.jmh.samples.JMHSample_16_CompilerControl
Direct Known Subclasses:
JMHSample_16_CompilerControl_jmhType_B1

public class JMHSample_16_CompilerControl extends Object
  • 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

      public static void main(String[] args) throws RunnerException
      Throws:
      RunnerException