public class com.oracle.svm.hosted.code.InliningUtilities
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.code.InliningUtilities
super_class: java.lang.Object
{
private static final java.lang.Class<? extends java.lang.annotation.Annotation> JDK_FORCE_INLINE_ANNOTATION;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.oracle.svm.hosted.code.InliningUtilities.lookupForceInlineAnnotation:()Ljava/lang/Class;
putstatic com.oracle.svm.hosted.code.InliningUtilities.JDK_FORCE_INLINE_ANNOTATION:Ljava/lang/Class;
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 Lcom/oracle/svm/hosted/code/InliningUtilities;
private static java.lang.Class<? extends java.lang.annotation.Annotation> lookupForceInlineAnnotation();
descriptor: ()Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JavaVersionUtil.JAVA_SPEC:I
bipush 8
if_icmpgt 3
1: ldc "java.lang.invoke.ForceInline"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
2: areturn
3: StackMap locals:
StackMap stack:
ldc "jdk.internal.vm.annotation.ForceInline"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
4: areturn
5: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 0
start local 0 6: aload 0
invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
6 7 0 ex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 2 5 Class java.lang.ClassNotFoundException
3 4 5 Class java.lang.ClassNotFoundException
Signature: ()Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
public static boolean isTrivialMethod(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
getstatic com.oracle.svm.hosted.code.InliningUtilities.JDK_FORCE_INLINE_ANNOTATION:Ljava/lang/Class;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph int int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 6: aload 3
instanceof org.graalvm.compiler.nodes.StartNode
ifne 14
aload 3
instanceof org.graalvm.compiler.nodes.ParameterNode
ifne 14
aload 3
instanceof org.graalvm.compiler.nodes.FullInfopointNode
ifne 14
aload 3
instanceof org.graalvm.compiler.nodes.spi.ValueProxy
ifeq 8
7: goto 14
8: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph int int org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 3
instanceof org.graalvm.compiler.nodes.java.MethodCallTargetNode
ifeq 11
9: iinc 1 1
10: goto 12
11: StackMap locals:
StackMap stack:
iinc 2 1
12: StackMap locals:
StackMap stack:
iload 1
iload 2
aload 0
invokestatic com.oracle.svm.hosted.code.InliningUtilities.shouldBeTrivial:(IILorg/graalvm/compiler/nodes/StructuredGraph;)Z
ifne 14
13: iconst_0
ireturn
end local 3 14: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph int int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
15: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 16 1 numInvokes I
4 16 2 numOthers I
6 14 3 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
private static boolean shouldBeTrivial(int, int, org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (IILorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifne 3
1: iload 1
getstatic com.oracle.svm.core.SubstrateOptions.MaxNodesInTrivialLeafMethod:Lcom/oracle/svm/core/option/HostedOptionKey;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
if_icmpgt 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iload 0
getstatic com.oracle.svm.core.SubstrateOptions.MaxInvokesInTrivialMethod:Lcom/oracle/svm/core/option/HostedOptionKey;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
if_icmpgt 6
4: iload 1
getstatic com.oracle.svm.core.SubstrateOptions.MaxNodesInTrivialMethod:Lcom/oracle/svm/core/option/HostedOptionKey;
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
if_icmpgt 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 numInvokes I
0 7 1 numOthers I
0 7 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
numInvokes
numOthers
graph
public static int recursionDepth(org.graalvm.compiler.nodes.Invoke, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Lorg/graalvm/compiler/nodes/Invoke;Ljdk/vm/ci/meta/ResolvedJavaMethod;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.Invoke.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: StackMap locals: org.graalvm.compiler.nodes.FrameState int
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.FrameState.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iinc 3 1
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.FrameState.outerFrameState:()Lorg/graalvm/compiler/nodes/FrameState;
astore 2
5: aload 2
ifnonnull 2
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 invoke Lorg/graalvm/compiler/nodes/Invoke;
0 7 1 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
1 7 2 state Lorg/graalvm/compiler/nodes/FrameState;
2 7 3 result I
MethodParameters:
Name Flags
invoke
callee
}
SourceFile: "InliningUtilities.java"