public class org.graalvm.compiler.core.test.DegeneratedLoopsTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.DegeneratedLoopsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final java.lang.String REFERENCE_SNIPPET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "referenceSnippet"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/DegeneratedLoopsTest;
public static int referenceSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a I
MethodParameters:
Name Flags
a
public void test1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/DegeneratedLoopsTest;
RuntimeInvisibleAnnotations:
Test()
public static int test1Snippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.core.test.DegeneratedLoopsTest.test:()V
1: goto 4
2: StackMap locals:
StackMap stack: org.graalvm.compiler.core.test.DegeneratedLoopsTest$UnresolvedException
pop
3: goto 0
4: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a I
Exception table:
from to target type
0 1 2 Class org.graalvm.compiler.core.test.DegeneratedLoopsTest$UnresolvedException
MethodParameters:
Name Flags
a
private static void test();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
private void test(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.core.test.DegeneratedLoopsTest.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
ldc "DegeneratedLoopsTest"
new org.graalvm.compiler.debug.DebugDumpScope
dup
aload 1
invokespecial org.graalvm.compiler.debug.DebugDumpScope.<init>:(Ljava/lang/String;)V
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 5
start local 5 3: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.DegeneratedLoopsTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 6
start local 6 4: aload 0
invokevirtual org.graalvm.compiler.core.test.DegeneratedLoopsTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
astore 7
start local 7 5: new org.graalvm.compiler.phases.common.inlining.InliningPhase
dup
new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
invokespecial org.graalvm.compiler.phases.common.inlining.InliningPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)V
aload 6
aload 7
invokevirtual org.graalvm.compiler.phases.common.inlining.InliningPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
6: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aload 6
aload 7
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
7: aload 2
iconst_1
aload 6
ldc "Graph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
8: aload 0
ldc "referenceSnippet"
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.DegeneratedLoopsTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 8
start local 8 9: aload 2
iconst_1
aload 8
ldc "ReferenceGraph"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
10: aload 0
aload 8
aload 6
invokevirtual org.graalvm.compiler.core.test.DegeneratedLoopsTest.assertEquals:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 8 end local 7 end local 6 11: aload 5
ifnull 19
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 19
StackMap locals: org.graalvm.compiler.core.test.DegeneratedLoopsTest java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
12: astore 3
aload 5
ifnull 13
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
aload 3
ifnonnull 15
aload 4
astore 3
goto 16
StackMap locals:
StackMap stack:
15: aload 3
aload 4
if_acmpeq 16
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 3
athrow
StackMap locals: org.graalvm.compiler.core.test.DegeneratedLoopsTest java.lang.String org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
17: astore 3
start local 3 18: aload 2
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/core/test/DegeneratedLoopsTest;
0 20 1 snippet Ljava/lang/String;
1 20 2 debug Lorg/graalvm/compiler/debug/DebugContext;
3 13 5 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 11 6 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
5 11 7 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
9 11 8 referenceGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
18 19 3 e Ljava/lang/Throwable;
Exception table:
from to target type
3 11 12 any
2 14 14 any
1 17 17 Class java.lang.Throwable
MethodParameters:
Name Flags
snippet final
}
SourceFile: "DegeneratedLoopsTest.java"
NestMembers:
org.graalvm.compiler.core.test.DegeneratedLoopsTest$UnresolvedException
InnerClasses:
private UnresolvedException = org.graalvm.compiler.core.test.DegeneratedLoopsTest$UnresolvedException of org.graalvm.compiler.core.test.DegeneratedLoopsTest
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph