public class org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy extends org.graalvm.compiler.phases.common.inlining.policy.AbstractInliningPolicy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy
  super_class: org.graalvm.compiler.phases.common.inlining.policy.AbstractInliningPolicy
{
  private static final org.graalvm.compiler.debug.DebugCounter inliningStoppedByMaxDesiredSizeCounter;
    descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 45
            ldc "InliningStoppedByMaxDesiredSize"
            invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
            putstatic org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.inliningStoppedByMaxDesiredSizeCounter:Lorg/graalvm/compiler/debug/DebugCounter;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.util.Map<org.graalvm.compiler.nodes.Invoke, java.lang.Double>);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
        start local 1 // java.util.Map hints
         0: .line 48
            aload 0 /* this */
            aload 1 /* hints */
            invokespecial org.graalvm.compiler.phases.common.inlining.policy.AbstractInliningPolicy.<init>:(Ljava/util/Map;)V
         1: .line 49
            return
        end local 1 // java.util.Map hints
        end local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/graalvm/compiler/phases/common/inlining/policy/GreedyInliningPolicy;
            0    2     1  hints  Ljava/util/Map<Lorg/graalvm/compiler/nodes/Invoke;Ljava/lang/Double;>;
    Signature: (Ljava/util/Map<Lorg/graalvm/compiler/nodes/Invoke;Ljava/lang/Double;>;)V
    MethodParameters:
       Name  Flags
      hints  

  public boolean continueInlining(org.graalvm.compiler.nodes.StructuredGraph);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
        start local 1 // org.graalvm.compiler.nodes.StructuredGraph currentGraph
         0: .line 53
            aload 1 /* currentGraph */
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.getNodeCount:(Lorg/graalvm/compiler/nodes/StructuredGraph;)I
            getstatic org.graalvm.compiler.core.common.GraalOptions.MaximumDesiredSize:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            if_icmplt 4
         1: .line 54
            ldc "inlining is cut off by MaximumDesiredSize"
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInliningDecision:(Ljava/lang/String;[Ljava/lang/Object;)V
         2: .line 55
            getstatic org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.inliningStoppedByMaxDesiredSizeCounter:Lorg/graalvm/compiler/debug/DebugCounter;
            invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
         3: .line 56
            iconst_0
            ireturn
         4: .line 58
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // org.graalvm.compiler.nodes.StructuredGraph currentGraph
        end local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Lorg/graalvm/compiler/phases/common/inlining/policy/GreedyInliningPolicy;
            0    5     1  currentGraph  Lorg/graalvm/compiler/nodes/StructuredGraph;
    MethodParameters:
              Name  Flags
      currentGraph  

  public boolean isWorthInlining(org.graalvm.compiler.nodes.spi.Replacements, org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation, int, boolean);
    descriptor: (Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/phases/common/inlining/walker/MethodInvocation;IZ)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=18, args_size=5
        start local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
        start local 1 // org.graalvm.compiler.nodes.spi.Replacements replacements
        start local 2 // org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation invocation
        start local 3 // int inliningDepth
        start local 4 // boolean fullyProcessed
         0: .line 64
            aload 2 /* invocation */
            invokevirtual org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation.callee:()Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;
            astore 5 /* info */
        start local 5 // org.graalvm.compiler.phases.common.inlining.info.InlineInfo info
         1: .line 65
            aload 2 /* invocation */
            invokevirtual org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation.probability:()D
            dstore 6 /* probability */
        start local 6 // double probability
         2: .line 66
            aload 2 /* invocation */
            invokevirtual org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation.relevance:()D
            dstore 8 /* relevance */
        start local 8 // double relevance
         3: .line 68
            getstatic org.graalvm.compiler.core.common.GraalOptions.InlineEverything:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ifeq 6
         4: .line 69
            aload 5 /* info */
            iload 3 /* inliningDepth */
            iload 4 /* fullyProcessed */
            ldc "inline everything"
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
         5: .line 70
            iconst_1
            ireturn
         6: .line 73
      StackMap locals: org.graalvm.compiler.phases.common.inlining.info.InlineInfo double double
      StackMap stack:
            aload 0 /* this */
            aload 1 /* replacements */
            aload 5 /* info */
            invokevirtual org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.isIntrinsic:(Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)Z
            ifeq 9
         7: .line 74
            aload 5 /* info */
            iload 3 /* inliningDepth */
            iload 4 /* fullyProcessed */
            ldc "intrinsic"
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
         8: .line 75
            iconst_1
            ireturn
         9: .line 78
      StackMap locals:
      StackMap stack:
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.shouldInline:()Z
            ifeq 12
        10: .line 79
            aload 5 /* info */
            iload 3 /* inliningDepth */
            iload 4 /* fullyProcessed */
            ldc "forced inlining"
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
        11: .line 80
            iconst_1
            ireturn
        12: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* info */
            invokevirtual org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.getInliningBonus:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)D
            dstore 10 /* inliningBonus */
        start local 10 // double inliningBonus
        13: .line 84
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.determineNodeCount:()I
            istore 12 /* nodes */
        start local 12 // int nodes
        14: .line 85
            aload 5 /* info */
            invokestatic org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.previousLowLevelGraphSize:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)I
            istore 13 /* lowLevelGraphSize */
        start local 13 // int lowLevelGraphSize
        15: .line 87
            getstatic org.graalvm.compiler.core.common.GraalOptions.SmallCompiledLowLevelGraphSize:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            ifle 20
            iload 13 /* lowLevelGraphSize */
            i2d
            getstatic org.graalvm.compiler.core.common.GraalOptions.SmallCompiledLowLevelGraphSize:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            dload 10 /* inliningBonus */
            dmul
            dcmpl
            ifle 20
        16: .line 88
            aload 5 /* info */
            iload 3 /* inliningDepth */
            ldc "too large previous low-level graph (low-level-nodes: %d, relevance=%f, probability=%f, bonus=%f, nodes=%d)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            iload 13 /* lowLevelGraphSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
        17: .line 89
            dload 8 /* relevance */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_2
            dload 6 /* probability */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            dload 10 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_4
            iload 12 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        18: .line 88
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logNotInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;ILjava/lang/String;[Ljava/lang/Object;)V
        19: .line 90
            iconst_0
            ireturn
        20: .line 93
      StackMap locals: double int int
      StackMap stack:
            iload 12 /* nodes */
            i2d
            getstatic org.graalvm.compiler.core.common.GraalOptions.TrivialInliningSize:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            dload 10 /* inliningBonus */
            dmul
            dcmpg
            ifge 23
        21: .line 94
            aload 5 /* info */
            iload 3 /* inliningDepth */
            iload 4 /* fullyProcessed */
            ldc "trivial (relevance=%f, probability=%f, bonus=%f, nodes=%d)"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
            dload 8 /* relevance */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_1
            dload 6 /* probability */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_2
            dload 10 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            iload 12 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
        22: .line 95
            iconst_1
            ireturn
        23: .line 104
      StackMap locals:
      StackMap stack:
            aload 5 /* info */
            invokestatic org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.determineInvokeProbability:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)D
            dstore 14 /* invokes */
        start local 14 // double invokes
        24: .line 105
            getstatic org.graalvm.compiler.core.common.GraalOptions.LimitInlinedInvokes:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Double
            invokevirtual java.lang.Double.doubleValue:()D
            dconst_0
            dcmpl
            ifle 29
            iload 4 /* fullyProcessed */
            ifeq 29
            dload 14 /* invokes */
            getstatic org.graalvm.compiler.core.common.GraalOptions.LimitInlinedInvokes:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Double
            invokevirtual java.lang.Double.doubleValue:()D
            dload 10 /* inliningBonus */
            dmul
            dcmpl
            ifle 29
        25: .line 106
            aload 5 /* info */
            iload 3 /* inliningDepth */
            ldc "callee invoke probability is too high (invokeP=%f, relevance=%f, probability=%f, bonus=%f, nodes=%d)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            dload 14 /* invokes */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_1
            dload 8 /* relevance */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_2
        26: .line 107
            dload 6 /* probability */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            dload 10 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_4
            iload 12 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        27: .line 106
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logNotInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;ILjava/lang/String;[Ljava/lang/Object;)V
        28: .line 108
            iconst_0
            ireturn
        29: .line 111
      StackMap locals: double
      StackMap stack:
            aload 0 /* this */
            dload 8 /* relevance */
            getstatic org.graalvm.compiler.core.common.GraalOptions.MaximumInliningSize:Lorg/graalvm/compiler/options/OptionValue;
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            dload 10 /* inliningBonus */
            dmul
            d2i
            invokevirtual org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.computeMaximumSize:(DI)D
            dstore 16 /* maximumNodes */
        start local 16 // double maximumNodes
        30: .line 112
            iload 12 /* nodes */
            i2d
            dload 16 /* maximumNodes */
            dcmpg
            ifgt 35
        31: .line 113
            aload 5 /* info */
            iload 3 /* inliningDepth */
            iload 4 /* fullyProcessed */
            ldc "relevance-based (relevance=%f, probability=%f, bonus=%f, nodes=%d <= %f)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            dload 8 /* relevance */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_1
            dload 6 /* probability */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_2
            dload 10 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
        32: .line 114
            iload 12 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            dload 16 /* maximumNodes */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
        33: .line 113
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
        34: .line 115
            iconst_1
            ireturn
        35: .line 118
      StackMap locals: double
      StackMap stack:
            aload 5 /* info */
            iload 3 /* inliningDepth */
            ldc "relevance-based (relevance=%f, probability=%f, bonus=%f, nodes=%d > %f)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            dload 8 /* relevance */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_1
            dload 6 /* probability */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_2
            dload 10 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            iload 12 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            dload 16 /* maximumNodes */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logNotInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;ILjava/lang/String;[Ljava/lang/Object;)V
        36: .line 119
            iconst_0
            ireturn
        end local 16 // double maximumNodes
        end local 14 // double invokes
        end local 13 // int lowLevelGraphSize
        end local 12 // int nodes
        end local 10 // double inliningBonus
        end local 8 // double relevance
        end local 6 // double probability
        end local 5 // org.graalvm.compiler.phases.common.inlining.info.InlineInfo info
        end local 4 // boolean fullyProcessed
        end local 3 // int inliningDepth
        end local 2 // org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation invocation
        end local 1 // org.graalvm.compiler.nodes.spi.Replacements replacements
        end local 0 // org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   37     0               this  Lorg/graalvm/compiler/phases/common/inlining/policy/GreedyInliningPolicy;
            0   37     1       replacements  Lorg/graalvm/compiler/nodes/spi/Replacements;
            0   37     2         invocation  Lorg/graalvm/compiler/phases/common/inlining/walker/MethodInvocation;
            0   37     3      inliningDepth  I
            0   37     4     fullyProcessed  Z
            1   37     5               info  Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;
            2   37     6        probability  D
            3   37     8          relevance  D
           13   37    10      inliningBonus  D
           14   37    12              nodes  I
           15   37    13  lowLevelGraphSize  I
           24   37    14            invokes  D
           30   37    16       maximumNodes  D
    MethodParameters:
                Name  Flags
      replacements    
      invocation      
      inliningDepth   
      fullyProcessed  
}
SourceFile: "GreedyInliningPolicy.java"