class org.jruby.runtime.profile.builtin.MethodData extends org.jruby.runtime.profile.builtin.InvocationSet
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.runtime.profile.builtin.MethodData
super_class: org.jruby.runtime.profile.builtin.InvocationSet
{
final int serialNumber;
descriptor: I
flags: (0x0010) ACC_FINAL
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
1: aload 0
iload 1
putfield org.jruby.runtime.profile.builtin.MethodData.serialNumber:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 3 1 serial I
MethodParameters:
Name Flags
serial
public int[] parents();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new org.jruby.runtime.profile.builtin.MethodData$IntList
dup
invokespecial org.jruby.runtime.profile.builtin.MethodData$IntList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.jruby.runtime.profile.builtin.MethodData org.jruby.runtime.profile.builtin.MethodData$IntList top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 2
start local 2 3: aload 2
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
ifnull 7
4: aload 2
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 4
start local 4 5: aload 1
iload 4
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.contains:(I)Z
ifne 7
6: aload 1
iload 4
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.add:(I)V
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 1
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.toIntArray:()[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
1 9 1 p Lorg/jruby/runtime/profile/builtin/MethodData$IntList;
3 7 2 inv Lorg/jruby/runtime/profile/builtin/Invocation;
5 7 4 serial I
public int[] children();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: new org.jruby.runtime.profile.builtin.MethodData$IntList
dup
invokespecial org.jruby.runtime.profile.builtin.MethodData$IntList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.jruby.runtime.profile.builtin.MethodData org.jruby.runtime.profile.builtin.MethodData$IntList top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 2
start local 2 3: aload 2
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.jruby.runtime.profile.builtin.MethodData org.jruby.runtime.profile.builtin.MethodData$IntList org.jruby.runtime.profile.builtin.Invocation java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 5: aload 1
aload 4
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.contains:(I)Z
ifne 7
6: aload 1
aload 4
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.add:(I)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 8: StackMap locals: org.jruby.runtime.profile.builtin.MethodData org.jruby.runtime.profile.builtin.MethodData$IntList top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
invokevirtual org.jruby.runtime.profile.builtin.MethodData$IntList.toIntArray:()[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
1 10 1 p Lorg/jruby/runtime/profile/builtin/MethodData$IntList;
3 8 2 inv Lorg/jruby/runtime/profile/builtin/Invocation;
5 7 4 childSerial Ljava/lang/Integer;
public org.jruby.runtime.profile.builtin.InvocationSet invocationsForParent(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.runtime.profile.builtin.MethodData int java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 5
start local 5 4: iload 5
iload 1
if_icmpne 6
5: aload 2
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: new org.jruby.runtime.profile.builtin.InvocationSet
dup
aload 2
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 8 1 parentSerial I
1 8 2 p Ljava/util/ArrayList<Lorg/jruby/runtime/profile/builtin/Invocation;>;
3 6 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 6 5 serial I
MethodParameters:
Name Flags
parentSerial
public org.jruby.runtime.profile.builtin.InvocationSet rootInvocationsFromParent(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.runtime.profile.builtin.MethodData int java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 5
start local 5 4: iload 5
iload 1
if_icmpne 6
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getRecursiveDepth:()I
iconst_1
if_icmpne 6
5: aload 2
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: new org.jruby.runtime.profile.builtin.InvocationSet
dup
aload 2
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 8 1 parentSerial I
1 8 2 p Ljava/util/ArrayList<Lorg/jruby/runtime/profile/builtin/Invocation;>;
3 6 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 6 5 serial I
MethodParameters:
Name Flags
parentSerial
public org.jruby.runtime.profile.builtin.InvocationSet invocationsFromParent(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.runtime.profile.builtin.MethodData int java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 5
start local 5 4: iload 5
iload 1
if_icmpne 6
5: aload 2
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: new org.jruby.runtime.profile.builtin.InvocationSet
dup
aload 2
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 8 1 parentSerial I
1 8 2 p Ljava/util/ArrayList<Lorg/jruby/runtime/profile/builtin/Invocation;>;
3 6 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 6 5 serial I
MethodParameters:
Name Flags
parentSerial
public org.jruby.runtime.profile.builtin.InvocationSet rootInvocationsOfChild(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.runtime.profile.builtin.MethodData int java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
iload 1
invokevirtual org.jruby.util.collections.IntHashMap.get:(I)Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 5
start local 5 4: aload 5
ifnull 6
aload 5
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getRecursiveDepth:()I
iconst_1
if_icmpne 6
5: aload 2
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: new org.jruby.runtime.profile.builtin.InvocationSet
dup
aload 2
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 8 1 childSerial I
1 8 2 p Ljava/util/ArrayList<Lorg/jruby/runtime/profile/builtin/Invocation;>;
3 6 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 6 5 childInv Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
childSerial
public org.jruby.runtime.profile.builtin.InvocationSet invocationsOfChild(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/InvocationSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.runtime.profile.builtin.MethodData int java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
iload 1
invokevirtual org.jruby.util.collections.IntHashMap.get:(I)Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 2
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: new org.jruby.runtime.profile.builtin.InvocationSet
dup
aload 2
invokespecial org.jruby.runtime.profile.builtin.InvocationSet.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
0 8 1 childSerial I
1 8 2 p Ljava/util/ArrayList<Lorg/jruby/runtime/profile/builtin/Invocation;>;
3 6 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 6 5 childInv Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
childSerial
public long totalTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.jruby.runtime.profile.builtin.MethodData long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getRecursiveDepth:()I
iconst_1
if_icmpne 5
4: lload 1
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getDuration:()J
ladd
lstore 1
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
1 7 1 t J
3 5 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
public long childTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.jruby.runtime.profile.builtin.MethodData.invocations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.jruby.runtime.profile.builtin.MethodData long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 3: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getRecursiveDepth:()I
iconst_1
if_icmpne 5
4: lload 1
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childTime:()J
ladd
lstore 1
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/profile/builtin/MethodData;
1 7 1 t J
3 5 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
}
SourceFile: "MethodData.java"
NestMembers:
org.jruby.runtime.profile.builtin.MethodData$IntList
InnerClasses:
private IntList = org.jruby.runtime.profile.builtin.MethodData$IntList of org.jruby.runtime.profile.builtin.MethodData