public class org.jruby.util.MRIRecursionGuard
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.MRIRecursionGuard
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.RubySymbol recursiveKey;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ThreadLocal<java.util.Map<java.lang.String, org.jruby.RubyHash>> recursive;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Map<Ljava/lang/String;Lorg/jruby/RubyHash;>;>;
private java.lang.ThreadLocal<java.lang.Boolean> inRecursiveListOperation;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ThreadLocal<Ljava/lang/Boolean;>;
public void <init>(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.jruby.util.MRIRecursionGuard.recursive:Ljava/lang/ThreadLocal;
2: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
3: aload 0
aload 1
putfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
4: aload 0
aload 1
ldc "__recursive_key__"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
putfield org.jruby.util.MRIRecursionGuard.recursiveKey:Lorg/jruby/RubySymbol;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/util/MRIRecursionGuard;
0 6 1 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
public org.jruby.runtime.builtin.IRubyObject execRecursive(org.jruby.util.MRIRecursionGuard$RecursiveFunction, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 2
1: aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
ldc "BUG: execRecursive called outside recursiveListOperation"
invokevirtual org.jruby.Ruby.newThreadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
iconst_0
invokevirtual org.jruby.util.MRIRecursionGuard.execRecursiveInternal:(Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/MRIRecursionGuard;
0 3 1 func Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;
0 3 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
func
obj
public org.jruby.runtime.builtin.IRubyObject execRecursiveOuter(org.jruby.util.MRIRecursionGuard$RecursiveFunction, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_1
invokevirtual org.jruby.util.MRIRecursionGuard.execRecursiveInternal:(Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
1: aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListClear:()V
2: aload 4
areturn
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
4: aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListClear:()V
5: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/util/MRIRecursionGuard;
0 6 1 func Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;
0 6 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
0 1 3 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
func
obj
public <T extends org.jruby.runtime.builtin.IRubyObject> T recursiveListOperation(java.util.concurrent.Callable<T>);
descriptor: (Ljava/util/concurrent/Callable;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
1: aload 1
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
astore 4
2: aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListClear:()V
3: aload 0
getfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: aload 4
areturn
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 6: aload 2
invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
7: aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListClear:()V
8: aload 0
getfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: aconst_null
areturn
end local 2 10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
11: aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListClear:()V
12: aload 0
getfield org.jruby.util.MRIRecursionGuard.inRecursiveListOperation:Ljava/lang/ThreadLocal;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
13: aload 3
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/util/MRIRecursionGuard;
0 14 1 body Ljava/util/concurrent/Callable<TT;>;
6 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 5 Class java.lang.Exception
0 2 10 any
5 7 10 any
Signature: <T::Lorg/jruby/runtime/builtin/IRubyObject;>(Ljava/util/concurrent/Callable<TT;>;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
body
private org.jruby.runtime.builtin.IRubyObject execRecursiveInternal(org.jruby.util.MRIRecursionGuard$RecursiveFunction, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.util.MRIRecursionGuard$ExecRecursiveParams
dup
invokespecial org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.<init>:()V
astore 5
start local 5 1: aload 5
aload 0
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveListAccess:()Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 5
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.id:()Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.objid:Lorg/jruby/runtime/builtin/IRubyObject;
3: iload 4
ifeq 4
aload 0
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.util.MRIRecursionGuard.recursiveKey:Lorg/jruby/RubySymbol;
aconst_null
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 4
iconst_1
goto 5
StackMap locals: org.jruby.util.MRIRecursionGuard$ExecRecursiveParams
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 0
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.objid:Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokevirtual org.jruby.util.MRIRecursionGuard.recursiveCheck:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 10
7: iload 4
ifeq 9
iload 6
ifne 9
8: new org.jruby.util.MRIRecursionGuard$RecursiveError
dup
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.util.MRIRecursionGuard$RecursiveError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 1
aload 2
iconst_1
invokeinterface org.jruby.util.MRIRecursionGuard$RecursiveFunction.call:(Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
10: StackMap locals:
StackMap stack:
aload 5
aload 1
putfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.func:Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;
11: aload 5
aload 2
putfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.obj:Lorg/jruby/runtime/builtin/IRubyObject;
12: aload 5
aload 3
putfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.pairid:Lorg/jruby/runtime/builtin/IRubyObject;
13: iload 6
ifeq 25
14: aload 0
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.util.MRIRecursionGuard.recursiveKey:Lorg/jruby/RubySymbol;
aconst_null
invokevirtual org.jruby.util.MRIRecursionGuard.recursivePush:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
15: aload 0
aload 5
invokevirtual org.jruby.util.MRIRecursionGuard.execRecursiveI:(Lorg/jruby/util/MRIRecursionGuard$ExecRecursiveParams;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 16: goto 21
end local 7 StackMap locals:
StackMap stack: org.jruby.util.MRIRecursionGuard$RecursiveError
17: astore 8
start local 8 18: aload 8
getfield org.jruby.util.MRIRecursionGuard$RecursiveError.tag:Ljava/lang/Object;
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpeq 20
19: aload 8
athrow
20: StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.util.MRIRecursionGuard$RecursiveFunction org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.util.MRIRecursionGuard$ExecRecursiveParams int top org.jruby.util.MRIRecursionGuard$RecursiveError
StackMap stack:
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
end local 8 start local 7 21: StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.util.MRIRecursionGuard$RecursiveFunction org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject int org.jruby.util.MRIRecursionGuard$ExecRecursiveParams int org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.util.MRIRecursionGuard.recursiveKey:Lorg/jruby/RubySymbol;
aconst_null
invokevirtual org.jruby.util.MRIRecursionGuard.recursivePop:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
22: aload 7
aload 5
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 26
23: aload 1
aload 2
iconst_1
invokeinterface org.jruby.util.MRIRecursionGuard$RecursiveFunction.call:(Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
24: goto 26
end local 7 25: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.jruby.util.MRIRecursionGuard.execRecursiveI:(Lorg/jruby/util/MRIRecursionGuard$ExecRecursiveParams;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 26: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 7
areturn
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 27 0 this Lorg/jruby/util/MRIRecursionGuard;
0 27 1 func Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;
0 27 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 27 3 pairid Lorg/jruby/runtime/builtin/IRubyObject;
0 27 4 outer Z
1 27 5 p Lorg/jruby/util/MRIRecursionGuard$ExecRecursiveParams;
6 27 6 outermost Z
16 17 7 result Lorg/jruby/runtime/builtin/IRubyObject;
21 25 7 result Lorg/jruby/runtime/builtin/IRubyObject;
26 27 7 result Lorg/jruby/runtime/builtin/IRubyObject;
18 21 8 e Lorg/jruby/util/MRIRecursionGuard$RecursiveError;
Exception table:
from to target type
15 16 17 Class org.jruby.util.MRIRecursionGuard$RecursiveError
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
func
obj
pairid
outer
private org.jruby.runtime.builtin.IRubyObject execRecursiveI(org.jruby.util.MRIRecursionGuard$ExecRecursiveParams);
descriptor: (Lorg/jruby/util/MRIRecursionGuard$ExecRecursiveParams;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.objid:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.pairid:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.util.MRIRecursionGuard.recursivePush:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.func:Lorg/jruby/util/MRIRecursionGuard$RecursiveFunction;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.obj:Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
invokeinterface org.jruby.util.MRIRecursionGuard$RecursiveFunction.call:(Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
3: goto 7
StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.util.MRIRecursionGuard$ExecRecursiveParams org.jruby.runtime.builtin.IRubyObject
StackMap stack: java.lang.Throwable
4: astore 3
5: aload 0
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.objid:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.pairid:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.util.MRIRecursionGuard.recursivePop:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
6: aload 3
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.list:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.objid:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
getfield org.jruby.util.MRIRecursionGuard$ExecRecursiveParams.pairid:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.util.MRIRecursionGuard.recursivePop:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/MRIRecursionGuard;
0 9 1 p Lorg/jruby/util/MRIRecursionGuard$ExecRecursiveParams;
1 9 2 result Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
p
private org.jruby.runtime.builtin.IRubyObject recursiveListAccess();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.MRIRecursionGuard.recursive:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 1: aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.getFrameName:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: aload 1
ifnonnull 7
4: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
5: aload 0
getfield org.jruby.util.MRIRecursionGuard.recursive:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
6: goto 8
7: StackMap locals: java.util.Map java.lang.String org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
astore 3
8: StackMap locals:
StackMap stack:
aload 3
ifnull 9
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 11
9: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyHash.newHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
astore 3
10: aload 1
aload 2
aload 3
checkcast org.jruby.RubyHash
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/util/MRIRecursionGuard;
1 12 1 hash Ljava/util/Map<Ljava/lang/String;Lorg/jruby/RubyHash;>;
2 12 2 sym Ljava/lang/String;
3 12 3 list Lorg/jruby/runtime/builtin/IRubyObject;
private void recursiveListClear();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.MRIRecursionGuard.recursive:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.util.Map.clear:()V
3: StackMap locals: java.util.Map
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/MRIRecursionGuard;
1 4 1 hash Ljava/util/Map<Ljava/lang/String;Lorg/jruby/RubyHash;>;
private void recursivePush(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 1: aload 5
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 6
start local 6 2: aload 3
ifnonnull 5
3: aload 1
checkcast org.jruby.RubyHash
aload 6
aload 2
aload 5
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: goto 15
StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject top org.jruby.Ruby org.jruby.runtime.ThreadContext
StackMap stack:
5: aload 1
checkcast org.jruby.RubyHash
aload 2
invokevirtual org.jruby.RubyHash.fastARef:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 4
start local 4 6: ifnonnull 9
7: aload 1
checkcast org.jruby.RubyHash
aload 6
aload 2
aload 3
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
8: goto 15
9: StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.runtime.ThreadContext
StackMap stack:
aload 4
instanceof org.jruby.RubyHash
ifne 14
10: aload 4
astore 7
start local 7 11: aload 5
invokestatic org.jruby.RubyHash.newHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
astore 4
12: aload 4
checkcast org.jruby.RubyHash
aload 6
aload 7
aload 5
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
13: aload 1
checkcast org.jruby.RubyHash
aload 6
aload 2
aload 4
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 7 14: StackMap locals:
StackMap stack:
aload 4
checkcast org.jruby.RubyHash
aload 6
aload 3
aload 5
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 4 15: StackMap locals: org.jruby.util.MRIRecursionGuard org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject top org.jruby.Ruby org.jruby.runtime.ThreadContext
StackMap stack:
return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/util/MRIRecursionGuard;
0 16 1 list Lorg/jruby/runtime/builtin/IRubyObject;
0 16 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 16 3 paired_obj Lorg/jruby/runtime/builtin/IRubyObject;
6 15 4 pair_list Lorg/jruby/runtime/builtin/IRubyObject;
1 16 5 runtime Lorg/jruby/Ruby;
2 16 6 context Lorg/jruby/runtime/ThreadContext;
11 14 7 other_paired_obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
list
obj
paired_obj
private void recursivePop(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 8
1: aload 1
checkcast org.jruby.RubyHash
aload 2
invokevirtual org.jruby.RubyHash.fastARef:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invalid inspect_tbl pair_list for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.getFrameName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
instanceof org.jruby.RubyHash
ifeq 8
5: aload 4
checkcast org.jruby.RubyHash
aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyHash.delete:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 4
checkcast org.jruby.RubyHash
invokevirtual org.jruby.RubyHash.isEmpty:()Z
ifne 8
7: return
end local 4 8: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyHash
aload 0
getfield org.jruby.util.MRIRecursionGuard.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyHash.delete:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
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/jruby/util/MRIRecursionGuard;
0 10 1 list Lorg/jruby/runtime/builtin/IRubyObject;
0 10 2 obj Lorg/jruby/runtime/builtin/IRubyObject;
0 10 3 paired_obj Lorg/jruby/runtime/builtin/IRubyObject;
2 8 4 pair_list Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
list
obj
paired_obj
private boolean recursiveCheck(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast org.jruby.RubyHash
aload 2
invokevirtual org.jruby.RubyHash.fastARef:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
ifnull 10
4: aload 4
instanceof org.jruby.RubyHash
ifne 7
5: aload 4
aload 3
if_acmpeq 10
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 4
checkcast org.jruby.RubyHash
aload 3
invokevirtual org.jruby.RubyHash.fastARef:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 8: aload 5
ifnull 9
aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 10
9: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
iconst_0
ireturn
end local 5 10: StackMap locals:
StackMap stack:
iconst_1
ireturn
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/jruby/util/MRIRecursionGuard;
0 11 1 list Lorg/jruby/runtime/builtin/IRubyObject;
0 11 2 obj_id Lorg/jruby/runtime/builtin/IRubyObject;
0 11 3 paired_obj_id Lorg/jruby/runtime/builtin/IRubyObject;
1 11 4 pair_list Lorg/jruby/runtime/builtin/IRubyObject;
8 10 5 paired_result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
list
obj_id
paired_obj_id
}
SourceFile: "MRIRecursionGuard.java"
NestMembers:
org.jruby.util.MRIRecursionGuard$ExecRecursiveParams org.jruby.util.MRIRecursionGuard$RecursiveError org.jruby.util.MRIRecursionGuard$RecursiveFunction
InnerClasses:
private ExecRecursiveParams = org.jruby.util.MRIRecursionGuard$ExecRecursiveParams of org.jruby.util.MRIRecursionGuard
private RecursiveError = org.jruby.util.MRIRecursionGuard$RecursiveError of org.jruby.util.MRIRecursionGuard
public abstract RecursiveFunction = org.jruby.util.MRIRecursionGuard$RecursiveFunction of org.jruby.util.MRIRecursionGuard