public final class org.graalvm.compiler.replacements.InlineDuringParsingPlugin implements org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.InlineDuringParsingPlugin
super_class: java.lang.Object
{
private static final int NodeBudget;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MaxDepthAfterBudgetExceeded;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "InlineDuringParsingPlugin.NodeBudget"
sipush 2000
invokestatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.getInteger:(Ljava/lang/String;I)I
putstatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.NodeBudget:I
1: ldc "InlineDuringParsingPlugin.MaxDepthAfterBudgetExceeded"
iconst_3
invokestatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.getInteger:(Ljava/lang/String;I)I
putstatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.MaxDepthAfterBudgetExceeded:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/InlineDuringParsingPlugin;
private static int getInteger(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
0 4 1 def I
1 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
def
public org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo shouldInlineInvoke(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
ifeq 9
1: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isLinked:()Z
ifeq 9
2: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.canBeInlined:()Z
ifeq 9
3: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.shouldBeInlined:()Z
ifeq 5
aload 1
invokestatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.checkInliningDepth:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;)Z
ifeq 5
4: aload 2
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo.createStandardInlineInfo:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isSynchronized:()Z
ifne 9
6: aload 2
aload 3
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.checkSize:(Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
ifeq 9
7: aload 1
invokestatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.checkInliningDepth:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;)Z
ifeq 9
8: aload 2
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo.createStandardInlineInfo:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InlineInvokePlugin$InlineInfo;
areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/replacements/InlineDuringParsingPlugin;
0 10 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 10 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 10 3 args [Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
b
method
args
private static boolean checkInliningDepth(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodeCount:()I
istore 1
start local 1 1: getstatic org.graalvm.compiler.java.BytecodeParserOptions.InlineDuringParsingMaxDepth:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
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
istore 2
start local 2 2: iload 1
getstatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.NodeBudget:I
if_icmple 4
getstatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.MaxDepthAfterBudgetExceeded:I
iload 2
if_icmpge 4
3: getstatic org.graalvm.compiler.replacements.InlineDuringParsingPlugin.MaxDepthAfterBudgetExceeded:I
istore 2
4: StackMap locals: int int
StackMap stack:
aload 0
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getDepth:()I
iload 2
if_icmpge 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
1 6 1 nodeCount I
2 6 2 maxDepth I
MethodParameters:
Name Flags
b
private static boolean checkSize(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode[], org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;[Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.nodes.StructuredGraph int top int int org.graalvm.compiler.nodes.ValueNode[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 5
4: iinc 3 1
end local 4 5: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 2
7: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getCode:()[B
arraylength
getstatic org.graalvm.compiler.core.common.GraalOptions.TrivialInliningSize:Lorg/graalvm/compiler/options/OptionKey;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
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
iload 3
imul
if_icmpgt 8
iconst_1
ireturn
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.nodes.StructuredGraph int
StackMap stack:
8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 9 1 args [Lorg/graalvm/compiler/nodes/ValueNode;
0 9 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 9 3 bonus I
3 5 4 v Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
method
args
graph
}
SourceFile: "InlineDuringParsingPlugin.java"
InnerClasses:
public final InlineInfo = org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin$InlineInfo of org.graalvm.compiler.nodes.graphbuilderconf.InlineInvokePlugin