public class org.graalvm.compiler.core.test.VerifyDebugUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.phases.tiers.PhaseContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.VerifyDebugUsage
super_class: org.graalvm.compiler.phases.VerifyPhase
{
jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0000)
private static final java.util.Set<java.lang.Integer> DebugLevels;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Integer;>;
private static final java.util.Set<java.lang.String> BasicLevelStructuredGraphDumpWhitelist;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> InfoLevelStructuredGraphDumpWhitelist;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.util.HashSet
dup
bipush 6
anewarray java.lang.Integer
dup
iconst_0
1: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic org.graalvm.compiler.core.test.VerifyDebugUsage.DebugLevels:Ljava/util/Set;
3: new java.util.HashSet
dup
bipush 10
anewarray java.lang.String
dup
iconst_0
4: ldc "org.graalvm.compiler.phases.BasePhase.dumpAfter"
aastore
dup
iconst_1
5: ldc "org.graalvm.compiler.phases.BasePhase.dumpBefore"
aastore
dup
iconst_2
6: ldc "org.graalvm.compiler.core.GraalCompiler.emitFrontEnd"
aastore
dup
iconst_3
7: ldc "org.graalvm.compiler.truffle.compiler.PartialEvaluator.fastPartialEvaluation"
aastore
dup
iconst_4
8: ldc "org.graalvm.compiler.truffle.compiler.PartialEvaluator$PerformanceInformationHandler.reportPerformanceWarnings"
aastore
dup
iconst_5
9: ldc "org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl.compilePEGraph"
aastore
dup
bipush 6
10: ldc "org.graalvm.compiler.core.test.VerifyDebugUsageTest$ValidDumpUsagePhase.run"
aastore
dup
bipush 7
11: ldc "org.graalvm.compiler.core.test.VerifyDebugUsageTest$InvalidConcatDumpUsagePhase.run"
aastore
dup
bipush 8
12: ldc "org.graalvm.compiler.core.test.VerifyDebugUsageTest$InvalidDumpUsagePhase.run"
aastore
dup
bipush 9
13: ldc "org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.verifySnippetEncodeDecode"
aastore
14: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic org.graalvm.compiler.core.test.VerifyDebugUsage.BasicLevelStructuredGraphDumpWhitelist:Ljava/util/Set;
15: new java.util.HashSet
dup
bipush 6
anewarray java.lang.String
dup
iconst_0
16: ldc "org.graalvm.compiler.core.GraalCompiler.emitFrontEnd"
aastore
dup
iconst_1
17: ldc "org.graalvm.compiler.phases.BasePhase.dumpAfter"
aastore
dup
iconst_2
18: ldc "org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.makeGraph"
aastore
dup
iconst_3
19: ldc "org.graalvm.compiler.replacements.SnippetTemplate.instantiate"
aastore
dup
iconst_4
20: ldc "org.graalvm.compiler.replacements.SnippetTemplate.<init>"
aastore
dup
iconst_5
21: ldc "org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.verifySnippetEncodeDecode"
aastore
22: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic org.graalvm.compiler.core.test.VerifyDebugUsage.InfoLevelStructuredGraphDumpWhitelist:Ljava/util/Set;
23: 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 org.graalvm.compiler.phases.VerifyPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.graalvm.compiler.phases.tiers.PhaseContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
putfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
1: aload 0
getfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 2: aload 0
getfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Lorg/graalvm/compiler/graph/Node;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/String;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 5
start local 5 4: aload 0
getfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Lorg/graalvm/compiler/debug/GraalError;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 6
start local 6 5: aload 1
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.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.iterator:()Ljava/util/Iterator;
astore 8
goto 23
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 7
start local 7 7: aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 9
start local 9 8: aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
astore 10
start local 10 9: aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 15
10: aload 10
ldc "dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 11
start local 11 11: aload 10
ldc "log"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 10
ldc "logAndIndent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 10
ldc "verify"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
iload 11
ifeq 15
12: StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.Iterator jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String int
StackMap stack:
aload 0
aload 7
aload 1
aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
aload 5
iload 11
ifeq 13
iconst_2
goto 14
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.Iterator jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String int
StackMap stack: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeInputList jdk.vm.ci.meta.ResolvedJavaType
13: iconst_1
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.Iterator jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String int
StackMap stack: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeInputList jdk.vm.ci.meta.ResolvedJavaType int
14: invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
end local 11 15: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 18
16: aload 10
ldc "assertTrue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
aload 10
ldc "assertFalse"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: StackMap locals:
StackMap stack:
aload 0
aload 7
aload 1
aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
aload 5
iconst_1
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
18: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 23
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifne 23
19: aload 10
ldc "guarantee"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
20: aload 0
aload 7
aload 1
aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
aload 5
iconst_0
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
21: StackMap locals:
StackMap stack:
aload 10
ldc "<init>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
iconst_0
invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
iconst_2
if_icmpne 23
22: aload 0
aload 7
aload 1
aload 7
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.arguments:()Lorg/graalvm/compiler/graph/NodeInputList;
aload 5
iconst_1
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
end local 10 end local 9 end local 7 23: StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
24: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 25 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 25 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
2 25 3 debugType Ljdk/vm/ci/meta/ResolvedJavaType;
3 25 4 nodeType Ljdk/vm/ci/meta/ResolvedJavaType;
4 25 5 stringType Ljdk/vm/ci/meta/ResolvedJavaType;
5 25 6 graalErrorType Ljdk/vm/ci/meta/ResolvedJavaType;
7 23 7 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
8 23 9 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
9 23 10 calleeName Ljava/lang/String;
11 15 11 isDump Z
MethodParameters:
Name Flags
graph
context
private void verifyParameters(org.graalvm.compiler.nodes.java.MethodCallTargetNode, org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.graph.NodeInputList<? extends org.graalvm.compiler.nodes.ValueNode>, jdk.vm.ci.meta.ResolvedJavaType, );
descriptor: (Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isVarArgs:()Z
ifeq 12
aload 3
aload 3
invokevirtual org.graalvm.compiler.graph.NodeInputList.count:()I
iconst_1
isub
invokevirtual org.graalvm.compiler.graph.NodeInputList.get:(I)Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.java.NewArrayNode
ifeq 12
1: new java.util.ArrayList
dup
aload 3
invokevirtual org.graalvm.compiler.graph.NodeInputList.snapshot:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 2: aload 6
aload 6
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.NewArrayNode
astore 7
start local 7 3: aload 6
invokeinterface java.util.List.size:()I
istore 8
start local 8 4: aload 7
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 10
goto 9
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeInputList jdk.vm.ci.meta.ResolvedJavaType int java.util.List org.graalvm.compiler.nodes.java.NewArrayNode int top java.util.Iterator
StackMap stack:
5: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 9
start local 9 6: aload 9
instanceof org.graalvm.compiler.nodes.java.StoreIndexedNode
ifeq 9
7: aload 9
checkcast org.graalvm.compiler.nodes.java.StoreIndexedNode
astore 11
start local 11 8: aload 6
aload 11
invokevirtual org.graalvm.compiler.nodes.java.StoreIndexedNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 9 9: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: aload 0
aload 2
aload 1
aload 6
aload 4
iload 5
iload 8
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljava/util/List;Ljdk/vm/ci/meta/ResolvedJavaType;II)V
end local 8 end local 7 end local 6 11: goto 13
12: StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.java.MethodCallTargetNode org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.NodeInputList jdk.vm.ci.meta.ResolvedJavaType int
StackMap stack:
aload 0
aload 2
aload 1
aload 3
aload 4
iload 5
iconst_m1
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyParameters:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljava/util/List;Ljdk/vm/ci/meta/ResolvedJavaType;II)V
13: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 14 1 callTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
0 14 2 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 14 3 args Lorg/graalvm/compiler/graph/NodeInputList<+Lorg/graalvm/compiler/nodes/ValueNode;>;
0 14 4 stringType Ljdk/vm/ci/meta/ResolvedJavaType;
0 14 5 startArgIdx I
2 11 6 unpacked Ljava/util/List<Lorg/graalvm/compiler/nodes/ValueNode;>;
3 11 7 varArgParameter Lorg/graalvm/compiler/nodes/java/NewArrayNode;
4 11 8 firstVarArg I
6 9 9 usage Lorg/graalvm/compiler/graph/Node;
8 9 11 si Lorg/graalvm/compiler/nodes/java/StoreIndexedNode;
Signature: (Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/NodeInputList<+Lorg/graalvm/compiler/nodes/ValueNode;>;Ljdk/vm/ci/meta/ResolvedJavaType;I)V
MethodParameters:
Name Flags
callTarget
callerGraph
args
stringType
startArgIdx
private void verifyParameters(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.java.MethodCallTargetNode, java.util.List<? extends org.graalvm.compiler.nodes.ValueNode>, jdk.vm.ci.meta.ResolvedJavaType, int, );
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljava/util/List;Ljdk/vm/ci/meta/ResolvedJavaType;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=19, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 7
start local 7 1: aconst_null
astore 8
start local 8 2: iload 5
istore 9
start local 9 3: iconst_0
istore 10
start local 10 4: iconst_0
istore 11
start local 11 5: iconst_0
istore 12
start local 12 6: goto 47
7: StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int
StackMap stack:
aload 3
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 13
start local 13 8: aload 13
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 36
9: iload 6
iflt 10
iload 9
iload 6
if_icmplt 10
iconst_1
goto 11
StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 11
12: aload 13
checkcast org.graalvm.compiler.nodes.Invoke
astore 14
start local 14 13: aload 14
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
astore 15
start local 15 14: aload 15
instanceof org.graalvm.compiler.nodes.java.MethodCallTargetNode
ifeq 36
15: aload 15
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 16
start local 16 16: aload 16
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "toString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
17: aload 14
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
istore 17
start local 17 18: iload 11
ifeq 19
iload 9
iload 10
isub
goto 20
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int
StackMap stack:
19: iload 9
StackMap locals:
StackMap stack: int
20: istore 18
start local 18 21: aload 1
aload 7
iload 17
iload 18
iload 11
ifeq 22
iload 10
goto 23
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod int int
22: iconst_m1
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod int int int
23: aload 16
invokestatic org.graalvm.compiler.core.test.VerifyDebugUsage.verifyStringConcat:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IIILjdk/vm/ci/meta/ResolvedJavaMethod;)V
24: aload 1
aload 7
aload 4
aload 16
iload 17
iload 18
iload 11
ifeq 25
iload 10
goto 26
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod int int
25: iconst_m1
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod int int int
26: invokestatic org.graalvm.compiler.core.test.VerifyDebugUsage.verifyToStringCall:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaMethod;III)V
end local 18 end local 17 27: goto 36
StackMap locals:
StackMap stack:
28: aload 16
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "format"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
29: aload 14
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
istore 17
start local 17 30: iload 11
ifeq 31
iload 9
iload 10
isub
goto 32
StackMap locals: int
StackMap stack:
31: iload 9
StackMap locals:
StackMap stack: int
32: istore 18
start local 18 33: aload 1
aload 7
aload 4
aload 16
iload 17
iload 18
iload 11
ifeq 34
iload 10
goto 35
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod int int
34: iconst_m1
StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod int int
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod int int int
35: invokestatic org.graalvm.compiler.core.test.VerifyDebugUsage.verifyFormatCall:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaMethod;III)V
end local 18 end local 17 end local 16 end local 15 end local 14 36: StackMap locals: org.graalvm.compiler.core.test.VerifyDebugUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.java.MethodCallTargetNode java.util.List jdk.vm.ci.meta.ResolvedJavaType int int jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Integer int int int int org.graalvm.compiler.nodes.ValueNode
StackMap stack:
iload 12
iconst_1
if_icmpne 40
37: aload 7
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
38: aload 0
aload 1
aload 2
aload 7
aload 13
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyDumpLevelParameter:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/ValueNode;)Ljava/lang/Integer;
astore 8
39: goto 43
StackMap locals:
StackMap stack:
40: iload 12
iconst_2
if_icmpne 43
41: aload 8
ifnull 43
42: aload 0
aload 1
aload 2
aload 13
aload 7
aload 8
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyDumpObjectParameter:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;)V
43: StackMap locals:
StackMap stack:
iload 6
iflt 45
iload 12
iload 6
if_icmplt 45
44: iinc 10 1
45: StackMap locals:
StackMap stack:
iinc 9 1
end local 13 46: iinc 12 1
StackMap locals:
StackMap stack:
47: iload 12
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 7
end local 12 48: return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 49 1 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 49 2 debugCallTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
0 49 3 args Ljava/util/List<+Lorg/graalvm/compiler/nodes/ValueNode;>;
0 49 4 stringType Ljdk/vm/ci/meta/ResolvedJavaType;
0 49 5 startArgIdx I
0 49 6 varArgsIndex I
1 49 7 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 49 8 dumpLevel Ljava/lang/Integer;
3 49 9 argIdx I
4 49 10 varArgsElementIndex I
5 49 11 reportVarArgs Z
6 48 12 i I
8 46 13 arg Lorg/graalvm/compiler/nodes/ValueNode;
13 36 14 invoke Lorg/graalvm/compiler/nodes/Invoke;
14 36 15 callTarget Lorg/graalvm/compiler/nodes/CallTargetNode;
16 36 16 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
18 27 17 bci I
21 27 18 nonVarArgIdx I
30 36 17 bci I
33 36 18 nonVarArgIdx I
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljava/util/List<+Lorg/graalvm/compiler/nodes/ValueNode;>;Ljdk/vm/ci/meta/ResolvedJavaType;II)V
MethodParameters:
Name Flags
callerGraph
debugCallTarget
args
stringType
startArgIdx
varArgsIndex
protected java.lang.Integer verifyDumpLevelParameter(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.java.MethodCallTargetNode, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/ValueNode;)Ljava/lang/Integer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 5
start local 5 1: aload 5
ifnull 9
2: aload 5
checkcast jdk.vm.ci.meta.PrimitiveConstant
invokevirtual jdk.vm.ci.meta.PrimitiveConstant.asInt:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
start local 6 3: getstatic org.graalvm.compiler.core.test.VerifyDebugUsage.DebugLevels:Ljava/util/Set;
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 8
4: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.invoke:()Lorg/graalvm/compiler/nodes/Invoke;
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 7
start local 7 5: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
6: ldc "In %s: parameter 0 of call to %s does not match a Debug.*_LEVEL constant: %s.%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 3
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
aload 6
7: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 7 8: StackMap locals: jdk.vm.ci.meta.Constant java.lang.Integer
StackMap stack:
aload 6
areturn
end local 6 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.invoke:()Lorg/graalvm/compiler/nodes/Invoke;
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 6
start local 6 10: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
11: ldc "In %s: parameter 0 of call to %s must be a constant, not %s.%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 3
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
aload 4
12: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 13 1 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 13 2 debugCallTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
0 13 3 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 4 arg Lorg/graalvm/compiler/nodes/ValueNode;
1 13 5 c Ljdk/vm/ci/meta/Constant;
3 9 6 dumpLevel Ljava/lang/Integer;
5 8 7 e Ljava/lang/StackTraceElement;
10 13 6 e Ljava/lang/StackTraceElement;
Exceptions:
throws org.graalvm.compiler.phases.VerifyPhase$VerificationError
MethodParameters:
Name Flags
callerGraph
debugCallTarget
verifiedCallee
arg
protected void verifyDumpObjectParameter(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.java.MethodCallTargetNode, org.graalvm.compiler.nodes.ValueNode, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Integer);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 6
start local 6 1: aload 0
getfield org.graalvm.compiler.core.test.VerifyDebugUsage.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Lorg/graalvm/compiler/graph/Graph;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 3
2: aload 0
aload 1
aload 2
aload 4
aload 5
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verifyStructuredGraphDumping:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;)V
3: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 4 1 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 4 2 debugCallTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
0 4 3 arg Lorg/graalvm/compiler/nodes/ValueNode;
0 4 4 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 4 5 dumpLevel Ljava/lang/Integer;
1 4 6 argType Ljdk/vm/ci/meta/ResolvedJavaType;
Exceptions:
throws org.graalvm.compiler.phases.VerifyPhase$VerificationError
MethodParameters:
Name Flags
callerGraph
debugCallTarget
arg
verifiedCallee
dumpLevel
protected void verifyStructuredGraphDumping(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.java.MethodCallTargetNode, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Integer);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual java.lang.Integer.intValue:()I
iconst_1
if_icmpne 8
1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.invoke:()Lorg/graalvm/compiler/nodes/Invoke;
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 5
start local 5 2: new java.lang.StringBuilder
dup
aload 5
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 3: getstatic org.graalvm.compiler.core.test.VerifyDebugUsage.BasicLevelStructuredGraphDumpWhitelist:Ljava/util/Set;
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 16
4: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
5: ldc "In %s: call to %s with level == DebugContext.BASIC_LEVEL not in %s.BasicLevelDumpWhitelist.%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 3
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
6: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
7: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 end local 5 8: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Integer.intValue:()I
iconst_2
if_icmpne 16
9: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.invoke:()Lorg/graalvm/compiler/nodes/Invoke;
invokeinterface org.graalvm.compiler.nodes.Invoke.bci:()I
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 5
start local 5 10: new java.lang.StringBuilder
dup
aload 5
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 11: getstatic org.graalvm.compiler.core.test.VerifyDebugUsage.InfoLevelStructuredGraphDumpWhitelist:Ljava/util/Set;
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 16
12: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
13: ldc "In %s: call to %s with level == Debug.INFO_LEVEL not in %s.InfoLevelDumpWhitelist.%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 3
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
14: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
15: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 end local 5 16: 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 17 0 this Lorg/graalvm/compiler/core/test/VerifyDebugUsage;
0 17 1 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 17 2 debugCallTarget Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
0 17 3 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 17 4 dumpLevel Ljava/lang/Integer;
2 8 5 e Ljava/lang/StackTraceElement;
3 8 6 qualifiedMethod Ljava/lang/String;
10 16 5 e Ljava/lang/StackTraceElement;
11 16 6 qualifiedMethod Ljava/lang/String;
Exceptions:
throws org.graalvm.compiler.phases.VerifyPhase$VerificationError
MethodParameters:
Name Flags
callerGraph
debugCallTarget
verifiedCallee
dumpLevel
private static void verifyStringConcat(org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, int, int, int, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IIILjdk/vm/ci/meta/ResolvedJavaMethod;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "Ljava/lang/StringBuilder;"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "Ljava/lang/StringBuffer;"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 6
start local 6 2: iload 4
iflt 7
3: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
4: ldc "In %s: element %d of parameter %d of call to %s appears to be a String concatenation expression.%n"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
5: aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
6: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals: java.lang.StackTraceElement
StackMap stack:
new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
8: ldc "In %s: parameter %d of call to %s appears to be a String concatenation expression."
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
9: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 6 10: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 11 1 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 2 bci I
0 11 3 argIdx I
0 11 4 varArgsElementIndex I
0 11 5 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 10 6 e Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
callerGraph
verifiedCallee
bci
argIdx
varArgsElementIndex
callee
private static void verifyToStringCall(org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaType, jdk.vm.ci.meta.ResolvedJavaMethod, int, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaMethod;III)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
iconst_0
invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
ifne 10
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
1: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 7
start local 7 2: iload 6
iflt 7
3: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
4: ldc "In %s: element %d of parameter %d of call to %s is a call to toString() which is redundant (the callee will do it) and forces unnecessary eager evaluation."
iconst_4
anewarray java.lang.Object
dup
iconst_0
5: aload 7
aastore
dup
iconst_1
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
6: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals: java.lang.StackTraceElement
StackMap stack:
new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "In %s: parameter %d of call to %s is a call to toString() which is redundant (the callee will do it) and forces unnecessary eager evaluation."
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
8: aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
9: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 7 10: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 11 1 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 2 stringType Ljdk/vm/ci/meta/ResolvedJavaType;
0 11 3 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 4 bci I
0 11 5 argIdx I
0 11 6 varArgsElementIndex I
2 10 7 e Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
callerGraph
verifiedCallee
stringType
callee
bci
argIdx
varArgsElementIndex
private static void verifyFormatCall(org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaType, jdk.vm.ci.meta.ResolvedJavaMethod, int, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaMethod;III)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
1: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
iload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 7
start local 7 2: iload 6
iflt 7
3: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
4: ldc "In %s: element %d of parameter %d of call to %s is a call to String.format() which is redundant (%s does formatting) and forces unnecessary eager evaluation."
iconst_5
anewarray java.lang.Object
dup
iconst_0
5: aload 7
aastore
dup
iconst_1
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_4
aload 1
ldc "%h.%n"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
6: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals: java.lang.StackTraceElement
StackMap stack:
new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "In %s: parameter %d of call to %s is a call to String.format() which is redundant (%s does formatting) and forces unnecessary eager evaluation."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
8: iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
9: aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
aload 1
ldc "%h.%n"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
10: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 7 11: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 callerGraph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 12 1 verifiedCallee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 12 2 stringType Ljdk/vm/ci/meta/ResolvedJavaType;
0 12 3 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 12 4 bci I
0 12 5 argIdx I
0 12 6 varArgsElementIndex I
2 11 7 e Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
callerGraph
verifiedCallee
stringType
callee
bci
argIdx
varArgsElementIndex
protected void verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.phases.tiers.PhaseContext
invokevirtual org.graalvm.compiler.core.test.VerifyDebugUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/phases/tiers/PhaseContext;>;
SourceFile: "VerifyDebugUsage.java"
InnerClasses:
public VerificationError = org.graalvm.compiler.phases.VerifyPhase$VerificationError of org.graalvm.compiler.phases.VerifyPhase