public class org.graalvm.compiler.core.test.ea.EATestBase 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.ea.EATestBase
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
protected org.graalvm.compiler.nodes.StructuredGraph graph;
descriptor: Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
protected org.graalvm.compiler.phases.tiers.HighTierContext context;
descriptor: Lorg/graalvm/compiler/phases/tiers/HighTierContext;
flags: (0x0004) ACC_PROTECTED
protected java.util.List<org.graalvm.compiler.nodes.ReturnNode> returnNodes;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lorg/graalvm/compiler/nodes/ReturnNode;>;
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/ea/EATestBase;
protected static native void notInlineable();
descriptor: ()V
flags: (0x010c) ACC_PROTECTED, ACC_STATIC, ACC_NATIVE
protected void testEscapeAnalysis(java.lang.String, jdk.vm.ci.meta.JavaConstant, boolean);
descriptor: (Ljava/lang/String;Ljdk/vm/ci/meta/JavaConstant;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.testEscapeAnalysis:(Ljava/lang/String;Ljdk/vm/ci/meta/JavaConstant;ZI)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase;
0 2 1 snippet Ljava/lang/String;
0 2 2 expectedConstantResult Ljdk/vm/ci/meta/JavaConstant;
0 2 3 iterativeEscapeAnalysis Z
MethodParameters:
Name Flags
snippet
expectedConstantResult
iterativeEscapeAnalysis
protected void testEscapeAnalysis(java.lang.String, jdk.vm.ci.meta.JavaConstant, boolean, int);
descriptor: (Ljava/lang/String;Ljdk/vm/ci/meta/JavaConstant;ZI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\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/ea/EATestBase;
MethodParameters:
Name Flags
snippet
expectedConstantResult
iterativeEscapeAnalysis
expectedAllocationCount
protected int getAllocationCount();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
invokestatic org.graalvm.compiler.graph.iterators.NodePredicates.isA:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodePredicates$PositiveTypePredicate;
ldc Lorg/graalvm/compiler/nodes/java/NewArrayNode;
invokevirtual org.graalvm.compiler.graph.iterators.NodePredicates$PositiveTypePredicate.or:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodePredicates$PositiveTypePredicate;
ldc Lorg/graalvm/compiler/nodes/virtual/AllocatedObjectNode;
invokevirtual org.graalvm.compiler.graph.iterators.NodePredicates$PositiveTypePredicate.or:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodePredicates$PositiveTypePredicate;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.count:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase;
protected void prepareGraph(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 3
start local 3 1: aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 2: aconst_null
astore 5
aconst_null
astore 6
3: aload 4
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.getCodeCache:()Ljdk/vm/ci/code/CodeCacheProvider;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 7
start local 7 4: aload 0
aload 0
aload 3
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 4
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.parseEager:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
putfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
5: aload 0
aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
putfield org.graalvm.compiler.core.test.ea.EATestBase.context:Lorg/graalvm/compiler/phases/tiers/HighTierContext;
6: aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.createInliningPhase:()Lorg/graalvm/compiler/phases/BasePhase;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.context:Lorg/graalvm/compiler/phases/tiers/HighTierContext;
invokevirtual org.graalvm.compiler.phases.BasePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
7: new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
8: aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.canonicalizeGraph:()V
9: new org.graalvm.compiler.virtual.phases.ea.PartialEscapePhase
dup
iload 2
iconst_0
new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aconst_null
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.virtual.phases.ea.PartialEscapePhase.<init>:(ZZLorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/BasePhase;Lorg/graalvm/compiler/options/OptionValues;)V
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.context:Lorg/graalvm/compiler/phases/tiers/HighTierContext;
invokevirtual org.graalvm.compiler.virtual.phases.ea.PartialEscapePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
10: aload 0
invokevirtual org.graalvm.compiler.core.test.ea.EATestBase.postEACanonicalizeGraph:()V
11: aload 0
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
getstatic org.graalvm.compiler.nodes.ReturnNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
putfield org.graalvm.compiler.core.test.ea.EATestBase.returnNodes:Ljava/util/List;
12: aload 7
ifnull 20
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 20
StackMap locals: org.graalvm.compiler.core.test.ea.EATestBase java.lang.String int jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
13: astore 5
aload 7
ifnull 14
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
athrow
StackMap locals: org.graalvm.compiler.core.test.ea.EATestBase java.lang.String int jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
18: astore 5
start local 5 19: aload 4
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase;
0 21 1 snippet Ljava/lang/String;
0 21 2 iterativeEscapeAnalysis Z
1 21 3 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 21 4 debug Lorg/graalvm/compiler/debug/DebugContext;
4 14 7 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
19 20 5 e Ljava/lang/Throwable;
Exception table:
from to target type
4 12 13 any
3 15 15 any
2 18 18 Class java.lang.Throwable
MethodParameters:
Name Flags
snippet
iterativeEscapeAnalysis
protected void postEACanonicalizeGraph();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase;
protected void canonicalizeGraph();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
getfield org.graalvm.compiler.core.test.ea.EATestBase.context:Lorg/graalvm/compiler/phases/tiers/HighTierContext;
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/ea/EATestBase;
}
SourceFile: "EATestBase.java"
NestMembers:
org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt org.graalvm.compiler.core.test.ea.EATestBase$TestClassObject
InnerClasses:
public TestClassInt = org.graalvm.compiler.core.test.ea.EATestBase$TestClassInt of org.graalvm.compiler.core.test.ea.EATestBase
public TestClassObject = org.graalvm.compiler.core.test.ea.EATestBase$TestClassObject of org.graalvm.compiler.core.test.ea.EATestBase
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final PositiveTypePredicate = org.graalvm.compiler.graph.iterators.NodePredicates$PositiveTypePredicate of org.graalvm.compiler.graph.iterators.NodePredicates
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph