public class org.jruby.runtime.marshal.UnmarshalCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.marshal.UnmarshalCache
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.jruby.runtime.builtin.IRubyObject> links;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/jruby/runtime/builtin/IRubyObject;>;
private final java.util.List<org.jruby.RubySymbol> symbols;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/jruby/RubySymbol;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/runtime/marshal/UnmarshalCache;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.runtime.marshal.UnmarshalCache.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jruby.runtime.marshal.UnmarshalCache.links:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jruby.runtime.marshal.UnmarshalCache.symbols:Ljava/util/List;
3: aload 0
aload 1
putfield org.jruby.runtime.marshal.UnmarshalCache.runtime:Lorg/jruby/Ruby;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 5 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public void register(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.selectCache:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 2 1 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
value
private java.util.List selectCache(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubySymbol
ifeq 1
aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.symbols:Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.links:Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 3 1 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
value
public boolean isLinkType(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 59
if_icmpeq 1
iload 1
bipush 64
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 2 1 c I
MethodParameters:
Name Flags
c
public org.jruby.runtime.builtin.IRubyObject readLink(org.jruby.runtime.marshal.UnmarshalStream, int);
descriptor: (Lorg/jruby/runtime/marshal/UnmarshalStream;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalInt:()I
istore 3
start local 3 1: iload 2
bipush 64
if_icmpne 3
2: aload 0
iload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.linkedByIndex:(I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals: int
StackMap stack:
getstatic org.jruby.runtime.marshal.UnmarshalCache.$assertionsDisabled:Z
ifne 4
iload 2
bipush 59
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.symbolByIndex:(I)Lorg/jruby/RubySymbol;
areturn
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/marshal/UnmarshalCache;
0 5 1 input Lorg/jruby/runtime/marshal/UnmarshalStream;
0 5 2 type I
1 5 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
type
private org.jruby.runtime.builtin.IRubyObject linkedByIndex(int);
descriptor: (I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.links:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
pop
3: aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "dump format error (unlinked, index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 4 1 index I
Exception table:
from to target type
0 1 2 Class java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
private org.jruby.RubySymbol symbolByIndex(int);
descriptor: (I)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.symbols:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jruby.RubySymbol
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
pop
3: aload 0
getfield org.jruby.runtime.marshal.UnmarshalCache.runtime:Lorg/jruby/Ruby;
ldc "bad symbol"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/marshal/UnmarshalCache;
0 4 1 index I
Exception table:
from to target type
0 1 2 Class java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index
}
SourceFile: "UnmarshalCache.java"