public class org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy extends org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy
  super_class: org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy
{
  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.hotspot.phases.aot.AOTInliningPolicy this
        start local 1 // java.util.Map hints
         0: .line 56
            aload 0 /* this */
            aload 1 /* hints */
            invokespecial org.graalvm.compiler.phases.common.inlining.policy.GreedyInliningPolicy.<init>:(Ljava/util/Map;)V
         1: .line 57
            return
        end local 1 // java.util.Map hints
        end local 0 // org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/graalvm/compiler/hotspot/phases/aot/AOTInliningPolicy;
            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  

  protected double maxInliningSize(int, org.graalvm.compiler.options.OptionValues);
    descriptor: (ILorg/graalvm/compiler/options/OptionValues;)D
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy this
        start local 1 // int inliningDepth
        start local 2 // org.graalvm.compiler.options.OptionValues options
         0: .line 60
            getstatic org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy$Options.AOTInliningSizeMaximum:Lorg/graalvm/compiler/options/OptionKey;
            aload 2 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            iload 1 /* inliningDepth */
            i2d
            getstatic org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy$Options.AOTInliningDepthToSizeRate:Lorg/graalvm/compiler/options/OptionKey;
            aload 2 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Double
            invokevirtual java.lang.Double.doubleValue:()D
            dmul
            ddiv
            getstatic org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy$Options.AOTInliningSizeMinimum:Lorg/graalvm/compiler/options/OptionKey;
            aload 2 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            invokestatic java.lang.Math.max:(DD)D
            dreturn
        end local 2 // org.graalvm.compiler.options.OptionValues options
        end local 1 // int inliningDepth
        end local 0 // org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0           this  Lorg/graalvm/compiler/hotspot/phases/aot/AOTInliningPolicy;
            0    1     1  inliningDepth  I
            0    1     2        options  Lorg/graalvm/compiler/options/OptionValues;
    MethodParameters:
               Name  Flags
      inliningDepth  
      options        

  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=16, args_size=5
        start local 0 // org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy 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 65
            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 67
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         2: goto 7
         3: .line 68
      StackMap locals: org.graalvm.compiler.phases.common.inlining.info.InlineInfo int
      StackMap stack:
            aload 5 /* info */
            iload 6 /* i */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.methodAt:(I)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
            checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
            astore 7 /* t */
        start local 7 // jdk.vm.ci.hotspot.HotSpotResolvedObjectType t
         4: .line 69
            aload 7 /* t */
            invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getFingerprint:()J
            lconst_0
            lcmp
            ifne 6
         5: .line 70
            iconst_0
            ireturn
        end local 7 // jdk.vm.ci.hotspot.HotSpotResolvedObjectType t
         6: .line 67
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 6 /* i */
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.numberOfMethods:()I
            if_icmplt 3
        end local 6 // int i
         8: .line 74
            aload 2 /* invocation */
            invokevirtual org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation.probability:()D
            dstore 6 /* probability */
        start local 6 // double probability
         9: .line 75
            aload 2 /* invocation */
            invokevirtual org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation.relevance:()D
            dstore 8 /* relevance */
        start local 8 // double relevance
        10: .line 77
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
            astore 10 /* options */
        start local 10 // org.graalvm.compiler.options.OptionValues options
        11: .line 78
            getstatic org.graalvm.compiler.core.common.GraalOptions.InlineEverything:Lorg/graalvm/compiler/options/OptionKey;
            aload 10 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ifeq 14
        12: .line 79
            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
        13: .line 80
            iconst_1
            ireturn
        14: .line 83
      StackMap locals: org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy org.graalvm.compiler.nodes.spi.Replacements org.graalvm.compiler.phases.common.inlining.walker.MethodInvocation int int org.graalvm.compiler.phases.common.inlining.info.InlineInfo double double org.graalvm.compiler.options.OptionValues
      StackMap stack:
            aload 0 /* this */
            aload 1 /* replacements */
            aload 5 /* info */
            invokevirtual org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy.isIntrinsic:(Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)Z
            ifeq 17
        15: .line 84
            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
        16: .line 85
            iconst_1
            ireturn
        17: .line 88
      StackMap locals:
      StackMap stack:
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.shouldInline:()Z
            ifeq 20
        18: .line 89
            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
        19: .line 90
            iconst_1
            ireturn
        20: .line 93
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* info */
            invokevirtual org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy.getInliningBonus:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;)D
            dstore 11 /* inliningBonus */
        start local 11 // double inliningBonus
        21: .line 94
            aload 5 /* info */
            invokeinterface org.graalvm.compiler.phases.common.inlining.info.InlineInfo.determineNodeCount:()I
            istore 13 /* nodes */
        start local 13 // int nodes
        22: .line 96
            iload 13 /* nodes */
            i2d
            getstatic org.graalvm.compiler.core.common.GraalOptions.TrivialInliningSize:Lorg/graalvm/compiler/options/OptionKey;
            aload 10 /* options */
            invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            i2d
            dload 11 /* inliningBonus */
            dmul
            dcmpg
            ifge 25
        23: .line 97
            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 11 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            iload 13 /* 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
        24: .line 98
            iconst_1
            ireturn
        25: .line 101
      StackMap locals: double int
      StackMap stack:
            aload 0 /* this */
            dload 8 /* relevance */
            aload 0 /* this */
            iload 3 /* inliningDepth */
            aload 10 /* options */
            invokevirtual org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy.maxInliningSize:(ILorg/graalvm/compiler/options/OptionValues;)D
            dload 11 /* inliningBonus */
            dmul
            d2i
            invokevirtual org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy.computeMaximumSize:(DI)D
            dstore 14 /* maximumNodes */
        start local 14 // double maximumNodes
        26: .line 102
            iload 13 /* nodes */
            i2d
            dload 14 /* maximumNodes */
            dcmpg
            ifgt 31
        27: .line 103
            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 11 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
        28: .line 104
            iload 13 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            dload 14 /* maximumNodes */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
        29: .line 103
            invokestatic org.graalvm.compiler.phases.common.inlining.InliningUtil.logInlinedMethod:(Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;IZLjava/lang/String;[Ljava/lang/Object;)V
        30: .line 105
            iconst_1
            ireturn
        31: .line 108
      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 11 /* inliningBonus */
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            dup
            iconst_3
            iload 13 /* nodes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_4
            dload 14 /* 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
        32: .line 109
            iconst_0
            ireturn
        end local 14 // double maximumNodes
        end local 13 // int nodes
        end local 11 // double inliningBonus
        end local 10 // org.graalvm.compiler.options.OptionValues options
        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.hotspot.phases.aot.AOTInliningPolicy this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   33     0            this  Lorg/graalvm/compiler/hotspot/phases/aot/AOTInliningPolicy;
            0   33     1    replacements  Lorg/graalvm/compiler/nodes/spi/Replacements;
            0   33     2      invocation  Lorg/graalvm/compiler/phases/common/inlining/walker/MethodInvocation;
            0   33     3   inliningDepth  I
            0   33     4  fullyProcessed  Z
            1   33     5            info  Lorg/graalvm/compiler/phases/common/inlining/info/InlineInfo;
            2    8     6               i  I
            4    6     7               t  Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
            9   33     6     probability  D
           10   33     8       relevance  D
           11   33    10         options  Lorg/graalvm/compiler/options/OptionValues;
           21   33    11   inliningBonus  D
           22   33    13           nodes  I
           26   33    14    maximumNodes  D
    MethodParameters:
                Name  Flags
      replacements    
      invocation      
      inliningDepth   
      fullyProcessed  
}
SourceFile: "AOTInliningPolicy.java"
NestMembers:
  org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy$Options
InnerClasses:
  public Options = org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy$Options of org.graalvm.compiler.hotspot.phases.aot.AOTInliningPolicy