Class JMHSample_16_CompilerControl

    • Constructor Detail

      • JMHSample_16_CompilerControl

        public JMHSample_16_CompilerControl()
    • Method Detail

      • 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 org.openjdk.jmh.runner.RunnerException
        Throws:
        org.openjdk.jmh.runner.RunnerException