public class org.jruby.runtime.profile.builtin.Invocation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.profile.builtin.Invocation
super_class: java.lang.Object
{
private final int methodSerialNumber;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int recursiveDepth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.profile.builtin.Invocation parent;
descriptor: Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0002) ACC_PRIVATE
private final org.jruby.util.collections.IntHashMap<org.jruby.runtime.profile.builtin.Invocation> children;
descriptor: Lorg/jruby/util/collections/IntHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/Invocation;>;
private long duration;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
iload 1
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(Lorg/jruby/runtime/profile/builtin/Invocation;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 serial I
MethodParameters:
Name Flags
serial
public void <init>(org.jruby.runtime.profile.builtin.Invocation, int);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield org.jruby.runtime.profile.builtin.Invocation.duration:J
2: aload 0
iconst_0
putfield org.jruby.runtime.profile.builtin.Invocation.count:I
3: aload 0
aload 1
putfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
4: aload 0
iload 2
putfield org.jruby.runtime.profile.builtin.Invocation.methodSerialNumber:I
5: aload 0
new org.jruby.util.collections.IntHashMap
dup
invokespecial org.jruby.util.collections.IntHashMap.<init>:()V
putfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 7 1 parent Lorg/jruby/runtime/profile/builtin/Invocation;
0 7 2 serial I
MethodParameters:
Name Flags
parent
serial
public void <init>(org.jruby.runtime.profile.builtin.Invocation, int, org.jruby.util.collections.IntHashMap<org.jruby.runtime.profile.builtin.Invocation>);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;ILorg/jruby/util/collections/IntHashMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield org.jruby.runtime.profile.builtin.Invocation.duration:J
2: aload 0
iconst_0
putfield org.jruby.runtime.profile.builtin.Invocation.count:I
3: aload 0
aload 1
putfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
4: aload 0
iload 2
putfield org.jruby.runtime.profile.builtin.Invocation.methodSerialNumber:I
5: aload 0
aload 3
putfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 7 1 parent Lorg/jruby/runtime/profile/builtin/Invocation;
0 7 2 serial I
0 7 3 children Lorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/Invocation;>;
Signature: (Lorg/jruby/runtime/profile/builtin/Invocation;ILorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/Invocation;>;)V
MethodParameters:
Name Flags
parent
serial
children
public int getMethodSerialNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.methodSerialNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public int getRecursiveDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.recursiveDepth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public void setRecursiveDepth(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.runtime.profile.builtin.Invocation.recursiveDepth:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 d I
MethodParameters:
Name Flags
d
public org.jruby.runtime.profile.builtin.Invocation getParent();
descriptor: ()Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public void setParent(org.jruby.runtime.profile.builtin.Invocation);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 p Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
p
public org.jruby.util.collections.IntHashMap<org.jruby.runtime.profile.builtin.Invocation> getChildren();
descriptor: ()Lorg/jruby/util/collections/IntHashMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
Signature: ()Lorg/jruby/util/collections/IntHashMap<Lorg/jruby/runtime/profile/builtin/Invocation;>;
public long getDuration();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.duration:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public void setDuration(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.jruby.runtime.profile.builtin.Invocation.duration:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 d J
MethodParameters:
Name Flags
d
public void addDuration(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.jruby.runtime.profile.builtin.Invocation.duration:J
lload 1
ladd
putfield org.jruby.runtime.profile.builtin.Invocation.duration:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 d J
MethodParameters:
Name Flags
d
public int getCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public void setCount(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.runtime.profile.builtin.Invocation.count:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 c I
MethodParameters:
Name Flags
c
public void incrementCount();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.jruby.runtime.profile.builtin.Invocation.count:I
iconst_1
iadd
putfield org.jruby.runtime.profile.builtin.Invocation.count:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public org.jruby.runtime.profile.builtin.Invocation childInvocationFor(int);
descriptor: (I)Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children: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
dup
astore 2
start local 2 1: ifnonnull 4
2: new org.jruby.runtime.profile.builtin.Invocation
dup
aload 0
iload 1
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(Lorg/jruby/runtime/profile/builtin/Invocation;I)V
astore 2
3: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
iload 1
aload 2
invokevirtual org.jruby.util.collections.IntHashMap.put:(ILjava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.jruby.runtime.profile.builtin.Invocation
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 5 1 serial I
1 5 2 child Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
serial
org.jruby.runtime.profile.builtin.Invocation copyWithNewSerialAndParent(int, org.jruby.runtime.profile.builtin.Invocation);
descriptor: (ILorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.runtime.profile.builtin.Invocation
dup
aload 2
iload 1
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(Lorg/jruby/runtime/profile/builtin/Invocation;ILorg/jruby/util/collections/IntHashMap;)V
astore 3
start local 3 1: aload 3
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.duration:J
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setDuration:(J)V
2: aload 3
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.count:I
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setCount:(I)V
3: aload 3
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.recursiveDepth:I
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setRecursiveDepth:(I)V
4: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.jruby.runtime.profile.builtin.Invocation int org.jruby.runtime.profile.builtin.Invocation org.jruby.runtime.profile.builtin.Invocation top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 4
start local 4 6: aload 4
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setParent:(Lorg/jruby/runtime/profile/builtin/Invocation;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 9 1 serial I
0 9 2 newParent Lorg/jruby/runtime/profile/builtin/Invocation;
1 9 3 newInv Lorg/jruby/runtime/profile/builtin/Invocation;
6 7 4 child Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
serial
newParent
public void addChild(org.jruby.runtime.profile.builtin.Invocation);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
aload 1
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
aload 1
invokevirtual org.jruby.util.collections.IntHashMap.put:(ILjava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
0 2 1 child Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
child
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.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.jruby.runtime.profile.builtin.Invocation 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: lload 1
aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getDuration:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
1 6 1 t J
3 4 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
public long selfTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.duration:J
aload 0
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childTime:()J
lsub
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Invocation(#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.methodSerialNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " count="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.count:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " duration="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.duration:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
1: ldc " parent="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
ifnonnull 2
aconst_null
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.parent:Lorg/jruby/runtime/profile/builtin/Invocation;
getfield org.jruby.runtime.profile.builtin.Invocation.methodSerialNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: org.jruby.runtime.profile.builtin.Invocation
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " children.size="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.profile.builtin.Invocation.children:Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/profile/builtin/Invocation;
}
SourceFile: "Invocation.java"