public class org.jruby.runtime.profile.builtin.ProfileData implements org.jruby.runtime.profile.ProfileCollection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.profile.builtin.ProfileData
super_class: java.lang.Object
{
private org.jruby.runtime.profile.builtin.Invocation currentInvocation;
descriptor: Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.profile.builtin.Invocation topInvocation;
descriptor: Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0002) ACC_PRIVATE
private int[] methodRecursion;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private final org.jruby.runtime.ThreadContext threadContext;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.profile.builtin.ProfiledMethods profiledMethods;
descriptor: Lorg/jruby/runtime/profile/builtin/ProfiledMethods;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.profile.builtin.ProfiledMethods);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/profile/builtin/ProfiledMethods;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
aload 1
putfield org.jruby.runtime.profile.builtin.ProfileData.threadContext:Lorg/jruby/runtime/ThreadContext;
2: aload 0
aload 2
putfield org.jruby.runtime.profile.builtin.ProfileData.profiledMethods:Lorg/jruby/runtime/profile/builtin/ProfiledMethods;
3: aload 0
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.clear:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 profiledMethods Lorg/jruby/runtime/profile/builtin/ProfiledMethods;
MethodParameters:
Name Flags
context
profiledMethods
private org.jruby.runtime.profile.builtin.ProfiledMethod getProfiledMethod(long);
descriptor: (J)Lorg/jruby/runtime/profile/builtin/ProfiledMethod;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.profiledMethods:Lorg/jruby/runtime/profile/builtin/ProfiledMethods;
lload 1
invokevirtual org.jruby.runtime.profile.builtin.ProfiledMethods.getProfiledMethod:(J)Lorg/jruby/runtime/profile/builtin/ProfiledMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 1 1 serial J
MethodParameters:
Name Flags
serial final
public void profileEnter(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
astore 3
start local 3 1: aload 3
lload 1
l2i
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childInvocationFor:(I)Lorg/jruby/runtime/profile/builtin/Invocation;
astore 4
start local 4 2: aload 4
invokevirtual org.jruby.runtime.profile.builtin.Invocation.incrementCount:()V
3: aload 0
aload 4
putfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
4: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 5 1 calledMethod J
1 5 3 parentInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
2 5 4 childInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
calledMethod final
public void profileExit(long, long);
descriptor: (JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 5
start local 5 1: lload 5
lload 3
lsub
lstore 7
start local 7 2: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
pop
3: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
lload 7
invokevirtual org.jruby.runtime.profile.builtin.Invocation.addDuration:(J)V
4: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
if_acmpne 13
5: new org.jruby.runtime.profile.builtin.Invocation
dup
iconst_0
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(I)V
astore 9
start local 9 6: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
lload 1
l2i
aload 9
invokevirtual org.jruby.runtime.profile.builtin.Invocation.copyWithNewSerialAndParent:(ILorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
7: astore 10
start local 10 8: aload 9
aload 10
invokevirtual org.jruby.runtime.profile.builtin.Invocation.addChild:(Lorg/jruby/runtime/profile/builtin/Invocation;)V
9: aload 10
invokevirtual org.jruby.runtime.profile.builtin.Invocation.incrementCount:()V
10: aload 0
aload 9
putfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
11: aload 0
aload 10
putfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
end local 10 end local 9 12: goto 24
StackMap locals: long long
StackMap stack:
13: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
if_acmpne 23
lload 1
lconst_0
lcmp
ifeq 23
14: new org.jruby.runtime.profile.builtin.Invocation
dup
iconst_0
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(I)V
astore 9
start local 9 15: aload 9
lload 1
l2i
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childInvocationFor:(I)Lorg/jruby/runtime/profile/builtin/Invocation;
astore 10
start local 10 16: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
aload 10
invokevirtual org.jruby.runtime.profile.builtin.Invocation.copyWithNewSerialAndParent:(ILorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
17: astore 11
start local 11 18: aload 10
aload 11
invokevirtual org.jruby.runtime.profile.builtin.Invocation.addChild:(Lorg/jruby/runtime/profile/builtin/Invocation;)V
19: aload 10
invokevirtual org.jruby.runtime.profile.builtin.Invocation.incrementCount:()V
20: aload 0
aload 9
putfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
21: aload 0
aload 10
putfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
end local 11 end local 10 end local 9 22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getParent:()Lorg/jruby/runtime/profile/builtin/Invocation;
putfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
24: StackMap locals:
StackMap stack:
return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 25 1 callingMethod J
0 25 3 startTime J
1 25 5 now J
2 25 7 duration J
6 12 9 newTopInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
8 12 10 newCurrentInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
15 22 9 newTopInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
16 22 10 newCurrentInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
18 22 11 newChildInvocation Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
callingMethod final
startTime final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
sipush 1000
newarray 10
putfield org.jruby.runtime.profile.builtin.ProfileData.methodRecursion:[I
1: aload 0
new org.jruby.runtime.profile.builtin.Invocation
dup
iconst_0
invokespecial org.jruby.runtime.profile.builtin.Invocation.<init>:(I)V
putfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
2: aload 0
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.currentInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
putfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
public long totalTime();
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.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childTime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
public org.jruby.runtime.profile.builtin.Invocation getTopInvocation();
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.ProfileData.topInvocation: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/ProfileData;
public org.jruby.runtime.profile.builtin.Invocation getCurrentInvocation();
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.ProfileData.currentInvocation: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/ProfileData;
public org.jruby.runtime.ThreadContext getThreadContext();
descriptor: ()Lorg/jruby/runtime/ThreadContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.threadContext:Lorg/jruby/runtime/ThreadContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
public org.jruby.runtime.profile.builtin.Invocation computeResults();
descriptor: ()Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.setRecursiveDepths:()V
1: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.size:()I
iconst_1
if_icmpeq 3
2: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokestatic org.jruby.runtime.profile.builtin.ProfileData.setDuration:(Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.size:()I
iconst_1
if_icmpne 13
4: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()Lorg/jruby/util/collections/IntHashMap;
invokevirtual org.jruby.util.collections.IntHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 1
start local 1 5: aload 1
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 2
start local 2 6: ldc "JRuby::Profiler.profile"
aload 0
iload 2
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.methodName:(I)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
7: aload 1
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()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 12
StackMap locals: org.jruby.runtime.profile.builtin.ProfileData org.jruby.runtime.profile.builtin.Invocation int top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 3
start local 3 9: aload 3
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 2
10: ldc "JRuby::Profiler.profiled_code"
aload 0
iload 2
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.methodName:(I)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 3
iconst_0
aconst_null
invokevirtual org.jruby.runtime.profile.builtin.Invocation.copyWithNewSerialAndParent:(ILorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
invokestatic org.jruby.runtime.profile.builtin.ProfileData.setDuration:(Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
areturn
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 2 end local 1 13: StackMap locals: org.jruby.runtime.profile.builtin.ProfileData
StackMap stack:
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokestatic org.jruby.runtime.profile.builtin.ProfileData.setDuration:(Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
5 13 1 singleTopChild Lorg/jruby/runtime/profile/builtin/Invocation;
6 13 2 serial I
9 12 3 inv Lorg/jruby/runtime/profile/builtin/Invocation;
private static org.jruby.runtime.profile.builtin.Invocation setDuration(org.jruby.runtime.profile.builtin.Invocation);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;)Lorg/jruby/runtime/profile/builtin/Invocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.runtime.profile.builtin.Invocation.childTime:()J
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setDuration:(J)V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 inv Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
inv
protected void decRecursionFor(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.ensureRecursionSize:(I)V
1: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.methodRecursion:[I
astore 2
start local 2 2: aload 2
iload 1
aload 2
iload 1
iaload
iconst_1
isub
iastore
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 4 1 serial I
2 4 2 mr [I
MethodParameters:
Name Flags
serial
protected int incRecursionFor(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.ensureRecursionSize:(I)V
1: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.methodRecursion:[I
astore 2
start local 2 2: aload 2
iload 1
iaload
iconst_1
iadd
istore 3
start local 3 3: aload 2
iload 1
iload 3
iastore
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 5 1 serial I
2 5 2 mr [I
3 5 3 inc I
MethodParameters:
Name Flags
serial
private void ensureRecursionSize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.methodRecursion:[I
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
iload 1
if_icmpgt 6
3: iload 1
i2d
ldc 1.5
dmul
dconst_1
dadd
d2i
newarray 10
astore 4
start local 4 4: aload 2
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
aload 4
putfield org.jruby.runtime.profile.builtin.ProfileData.methodRecursion:[I
end local 4 6: StackMap locals: int[] int
StackMap stack:
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/ProfileData;
0 7 1 index I
1 7 2 mr [I
2 7 3 length I
4 6 4 newRecursion [I
MethodParameters:
Name Flags
index
private void setRecursiveDepths();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 1
start local 1 1: aload 0
iload 1
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.incRecursionFor:(I)I
istore 2
start local 2 2: aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
iload 2
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setRecursiveDepth:(I)V
3: aload 0
aload 0
getfield org.jruby.runtime.profile.builtin.ProfileData.topInvocation:Lorg/jruby/runtime/profile/builtin/Invocation;
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.setRecursiveDepths1:(Lorg/jruby/runtime/profile/builtin/Invocation;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
1 5 1 topSerial I
2 5 2 depth I
private void setRecursiveDepths1(org.jruby.runtime.profile.builtin.Invocation);
descriptor: (Lorg/jruby/runtime/profile/builtin/Invocation;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getChildren:()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.ProfileData org.jruby.runtime.profile.builtin.Invocation top top top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.runtime.profile.builtin.Invocation
astore 4
start local 4 2: aload 4
invokevirtual org.jruby.runtime.profile.builtin.Invocation.getMethodSerialNumber:()I
istore 3
start local 3 3: aload 0
iload 3
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.incRecursionFor:(I)I
istore 2
start local 2 4: aload 4
iload 2
invokevirtual org.jruby.runtime.profile.builtin.Invocation.setRecursiveDepth:(I)V
5: aload 0
aload 4
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.setRecursiveDepths1:(Lorg/jruby/runtime/profile/builtin/Invocation;)V
6: aload 0
iload 3
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.decRecursionFor:(I)V
end local 4 end local 3 end local 2 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 9 1 inv Lorg/jruby/runtime/profile/builtin/Invocation;
4 7 2 depth I
3 7 3 childSerial I
2 7 4 child Lorg/jruby/runtime/profile/builtin/Invocation;
MethodParameters:
Name Flags
inv
java.lang.String methodName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 1
ldc "(top)"
areturn
1: StackMap locals:
StackMap stack:
aload 0
iload 1
i2l
invokevirtual org.jruby.runtime.profile.builtin.ProfileData.getProfiledMethod:(J)Lorg/jruby/runtime/profile/builtin/ProfiledMethod;
invokestatic org.jruby.runtime.profile.builtin.ProfilePrinter.methodName:(Lorg/jruby/runtime/profile/builtin/ProfiledMethod;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/profile/builtin/ProfileData;
0 2 1 serial I
MethodParameters:
Name Flags
serial final
}
SourceFile: "ProfileData.java"