public abstract class org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper extends org.graalvm.compiler.salver.dumper.AbstractGraalDumper
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper
super_class: org.graalvm.compiler.salver.dumper.AbstractGraalDumper
{
protected org.graalvm.compiler.salver.util.MethodContext previousMethodContext;
descriptor: Lorg/graalvm/compiler/salver/util/MethodContext;
flags: (0x0004) ACC_PROTECTED
protected final java.util.Deque<java.lang.Integer> pathStack;
descriptor: Ljava/util/Deque;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Deque<Ljava/lang/Integer;>;
protected int pathCounter;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected final java.util.Deque<java.lang.Integer> itemIdStack;
descriptor: Ljava/util/Deque;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Deque<Ljava/lang/Integer;>;
protected int itemIdCounter;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.salver.dumper.AbstractGraalDumper.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathStack:Ljava/util/Deque;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdStack:Ljava/util/Deque;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
protected void resolveMethodContext();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=1
start local 0 0: new org.graalvm.compiler.salver.util.MethodContext
dup
invokespecial org.graalvm.compiler.salver.util.MethodContext.<init>:()V
astore 1
start local 1 1: aload 1
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
2: aload 1
invokevirtual org.graalvm.compiler.salver.util.MethodContext.size:()I
istore 2
start local 2 3: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.previousMethodContext:Lorg/graalvm/compiler/salver/util/MethodContext;
ifnull 4
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.previousMethodContext:Lorg/graalvm/compiler/salver/util/MethodContext;
invokevirtual org.graalvm.compiler.salver.util.MethodContext.size:()I
goto 5
StackMap locals: org.graalvm.compiler.salver.util.MethodContext int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 16
8: StackMap locals: int int
StackMap stack:
iload 4
iload 2
if_icmpge 9
aload 1
iload 4
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.previousMethodContext:Lorg/graalvm/compiler/salver/util/MethodContext;
invokevirtual org.graalvm.compiler.salver.util.MethodContext.itemEquals:(ILorg/graalvm/compiler/salver/util/MethodContext;)Z
ifne 15
9: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
istore 5
start local 5 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.closeScope:()V
12: iinc 5 -1
StackMap locals:
StackMap stack:
13: iload 5
iload 4
if_icmpge 11
end local 5 14: goto 17
15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 3
if_icmplt 8
end local 4 17: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 18: goto 27
19: StackMap locals: int
StackMap stack:
iload 4
iload 3
if_icmpge 20
aload 1
iload 4
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.previousMethodContext:Lorg/graalvm/compiler/salver/util/MethodContext;
invokevirtual org.graalvm.compiler.salver.util.MethodContext.itemEquals:(ILorg/graalvm/compiler/salver/util/MethodContext;)Z
ifne 26
20: StackMap locals:
StackMap stack:
iload 4
istore 5
start local 5 21: goto 24
22: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 5
invokevirtual org.graalvm.compiler.salver.util.MethodContext.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.salver.util.MethodContext$Item
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.openScope:(Lorg/graalvm/compiler/salver/util/MethodContext$Item;)V
23: iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
iload 2
if_icmplt 22
end local 5 25: goto 28
26: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
iload 2
if_icmplt 19
end local 4 28: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.previousMethodContext:Lorg/graalvm/compiler/salver/util/MethodContext;
29: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
1 30 1 methodContext Lorg/graalvm/compiler/salver/util/MethodContext;
3 30 2 size I
6 30 3 previousSize I
7 17 4 i I
10 14 5 inlineDepth I
18 28 4 i I
21 25 5 inlineDepth I
Exceptions:
throws java.io.IOException
protected void openScope(org.graalvm.compiler.salver.util.MethodContext$Item);
descriptor: (Lorg/graalvm/compiler/salver/util/MethodContext$Item;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.salver.util.MethodContext$Item.getDebugId:()I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 2
iload 2
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathStack:Ljava/util/Deque;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
5: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdStack:Ljava/util/Deque;
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
6: aload 0
iconst_0
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
7: aload 0
iconst_0
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdCounter:I
8: aload 0
aload 1
invokevirtual org.graalvm.compiler.salver.util.MethodContext$Item.getMethod:()Ljdk/vm/ci/meta/JavaMethod;
iload 3
aload 1
invokevirtual org.graalvm.compiler.salver.util.MethodContext$Item.getName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.processMethod:(Ljdk/vm/ci/meta/JavaMethod;ILjava/lang/String;)V
9: return
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/salver/dumper/AbstractMethodScopeDumper;
0 10 1 item Lorg/graalvm/compiler/salver/util/MethodContext$Item;
1 10 2 debugId I
4 10 3 id I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
item
protected void closeScope();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathStack:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifne 3
1: aload 0
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathStack:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
2: aload 0
dup
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
iconst_1
iadd
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdStack:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifne 5
4: aload 0
aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdStack:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdCounter:I
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
Exceptions:
throws java.io.IOException
protected void processMethod(jdk.vm.ci.meta.JavaMethod, int, java.lang.String);
descriptor: (Ljdk/vm/ci/meta/JavaMethod;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.salver.data.DataDict
dup
invokespecial org.graalvm.compiler.salver.data.DataDict.<init>:()V
astore 4
start local 4 1: aload 4
ldc "id"
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
ldc "name"
aload 3
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
instanceof jdk.vm.ci.meta.ResolvedJavaMethod
ifeq 9
4: new org.graalvm.compiler.salver.data.DataDict
dup
invokespecial org.graalvm.compiler.salver.data.DataDict.<init>:()V
astore 5
start local 5 5: aload 4
ldc "method"
aload 5
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 1
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
astore 6
start local 6 7: aload 5
ldc "modifiers"
aload 6
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getModifiers:()I
invokestatic java.lang.reflect.Modifier.toString:(I)Ljava/lang/String;
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 5
ldc "code"
new org.graalvm.compiler.bytecode.BytecodeDisassembler
dup
iconst_0
invokespecial org.graalvm.compiler.bytecode.BytecodeDisassembler.<init>:(Z)V
aload 6
invokevirtual org.graalvm.compiler.bytecode.BytecodeDisassembler.disassemble:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 9: StackMap locals: org.graalvm.compiler.salver.data.DataDict
StackMap stack:
aload 0
aload 0
ldc "method"
aload 4
iconst_0
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.createEventDictWithId:(Ljava/lang/String;Lorg/graalvm/compiler/salver/data/DataDict;Z)Lorg/graalvm/compiler/salver/data/DataDict;
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.serializeAndFlush:(Ljava/lang/Object;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
0 11 1 method Ljdk/vm/ci/meta/JavaMethod;
0 11 2 id I
0 11 3 name Ljava/lang/String;
1 11 4 dataDict Lorg/graalvm/compiler/salver/data/DataDict;
5 9 5 methodDict Lorg/graalvm/compiler/salver/data/DataDict;
7 9 6 resolvedMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
method
id
name
protected int nextItemId();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdCounter:I
dup_x1
iconst_1
iadd
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.itemIdCounter:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
protected org.graalvm.compiler.salver.data.DataDict createEventDictWithId(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/graalvm/compiler/salver/data/DataDict;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.createEventDict:(Ljava/lang/String;)Lorg/graalvm/compiler/salver/data/DataDict;
astore 3
start local 3 1: new org.graalvm.compiler.salver.data.DataDict
dup
invokespecial org.graalvm.compiler.salver.data.DataDict.<init>:()V
astore 4
start local 4 2: aload 3
ldc "@id"
aload 4
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: new org.graalvm.compiler.salver.data.DataList
dup
invokespecial org.graalvm.compiler.salver.data.DataList.<init>:()V
astore 5
start local 5 4: aload 4
ldc "path"
aload 5
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathStack:Ljava/util/Deque;
invokeinterface java.util.Deque.descendingIterator:()Ljava/util/Iterator;
astore 6
start local 6 6: goto 8
7: StackMap locals: org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper java.lang.String int org.graalvm.compiler.salver.data.DataDict org.graalvm.compiler.salver.data.DataDict org.graalvm.compiler.salver.data.DataList java.util.Iterator
StackMap stack:
aload 5
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual org.graalvm.compiler.salver.data.DataList.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
9: iload 2
ifeq 11
10: aload 5
aload 0
dup
getfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
dup_x1
iconst_1
iadd
putfield org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.pathCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.salver.data.DataList.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
aload 3
areturn
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 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
0 12 1 name Ljava/lang/String;
0 12 2 isItem Z
1 12 3 eventDict Lorg/graalvm/compiler/salver/data/DataDict;
2 12 4 idDict Lorg/graalvm/compiler/salver/data/DataDict;
4 12 5 pathList Lorg/graalvm/compiler/salver/data/DataList;
6 12 6 i Ljava/util/Iterator<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
name
isItem
protected org.graalvm.compiler.salver.data.DataDict createEventDictWithId(java.lang.String, org.graalvm.compiler.salver.data.DataDict, boolean);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/salver/data/DataDict;Z)Lorg/graalvm/compiler/salver/data/DataDict;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.createEventDictWithId:(Ljava/lang/String;Z)Lorg/graalvm/compiler/salver/data/DataDict;
astore 4
start local 4 1: aload 4
ldc "@data"
aload 2
invokevirtual org.graalvm.compiler.salver.data.DataDict.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
0 3 1 name Ljava/lang/String;
0 3 2 dataDict Lorg/graalvm/compiler/salver/data/DataDict;
0 3 3 isItem Z
1 3 4 eventDict Lorg/graalvm/compiler/salver/data/DataDict;
MethodParameters:
Name Flags
name
dataDict
isItem
protected org.graalvm.compiler.salver.data.DataDict createEventDictWithId(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/salver/data/DataDict;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.createEventDictWithId:(Ljava/lang/String;Z)Lorg/graalvm/compiler/salver/data/DataDict;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected org.graalvm.compiler.salver.data.DataDict createEventDictWithId(java.lang.String, org.graalvm.compiler.salver.data.DataDict);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/salver/data/DataDict;)Lorg/graalvm/compiler/salver/data/DataDict;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual org.graalvm.compiler.salver.dumper.AbstractMethodScopeDumper.createEventDictWithId:(Ljava/lang/String;Lorg/graalvm/compiler/salver/data/DataDict;Z)Lorg/graalvm/compiler/salver/data/DataDict;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/salver/dumper/AbstractMethodScopeDumper;
0 1 1 name Ljava/lang/String;
0 1 2 dataDict Lorg/graalvm/compiler/salver/data/DataDict;
MethodParameters:
Name Flags
name
dataDict
}
SourceFile: "AbstractMethodScopeDumper.java"
InnerClasses:
public final Item = org.graalvm.compiler.salver.util.MethodContext$Item of org.graalvm.compiler.salver.util.MethodContext