public final class org.jruby.RubySymbol$SymbolTable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.RubySymbol$SymbolTable
super_class: java.lang.Object
{
static final int DEFAULT_INITIAL_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1024
static final int MAXIMUM_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65536
static final float DEFAULT_LOAD_FACTOR;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.75
private final java.util.concurrent.locks.ReentrantLock tableLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.jruby.RubySymbol$SymbolTable$SymbolEntry[] symbolTable;
descriptor: [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int threshold;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final float loadFactor;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield org.jruby.RubySymbol$SymbolTable.tableLock:Ljava/util/concurrent/locks/ReentrantLock;
2: aload 0
aload 1
putfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
3: aload 0
ldc 0.75
putfield org.jruby.RubySymbol$SymbolTable.loadFactor:F
4: aload 0
sipush 768
putfield org.jruby.RubySymbol$SymbolTable.threshold:I
5: aload 0
sipush 1024
anewarray org.jruby.RubySymbol$SymbolTable$SymbolEntry
putfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 7 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public org.jruby.RubySymbol getSymbol(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubySymbol$SymbolTable.getSymbol:(Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public org.jruby.RubySymbol getSymbol(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.RubySymbol.javaStringHashCode:(Ljava/lang/String;)I
istore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
iload 3
invokestatic org.jruby.RubySymbol$SymbolTable.getEntryFromTable:([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
start local 5 3: goto 9
4: StackMap locals: int org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 1
iload 3
aload 5
invokestatic org.jruby.RubySymbol$SymbolTable.isSymbolMatch:(Ljava/lang/String;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)Z
ifeq 8
5: iload 2
ifeq 6
aload 5
invokevirtual org.jruby.RubySymbol$SymbolTable$SymbolEntry.setHardReference:()V
6: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 4
7: goto 10
8: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
StackMap locals:
StackMap stack:
9: aload 5
ifnonnull 4
end local 5 10: StackMap locals:
StackMap stack:
aload 4
ifnonnull 11
aload 0
aload 1
aload 0
getfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubySymbol.symbolBytesFromString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/ByteList;
iload 3
iload 2
invokevirtual org.jruby.RubySymbol$SymbolTable.createSymbol:(Ljava/lang/String;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
astore 4
11: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 12 1 name Ljava/lang/String;
0 12 2 hard Z
1 12 3 hash I
2 12 4 symbol Lorg/jruby/RubySymbol;
3 10 5 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
name
hard
public org.jruby.RubySymbol getSymbol(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubySymbol$SymbolTable.getSymbol:(Lorg/jruby/util/ByteList;Z)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 1 1 bytes Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
bytes
public org.jruby.RubySymbol getSymbol(org.jruby.util.ByteList, boolean);
descriptor: (Lorg/jruby/util/ByteList;Z)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.jruby.RubySymbol.javaStringHashCode:(Lorg/jruby/util/ByteList;)I
istore 3
start local 3 1: aload 0
aload 1
iload 3
iload 2
invokevirtual org.jruby.RubySymbol$SymbolTable.findSymbol:(Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
astore 4
start local 4 2: aload 4
ifnonnull 10
3: aload 1
invokevirtual org.jruby.util.ByteList.dup:()Lorg/jruby/util/ByteList;
astore 1
4: aload 0
5: aload 1
invokestatic org.jruby.RubyEncoding.decodeISO:(Lorg/jruby/util/ByteList;)Ljava/lang/String;
6: aload 1
7: iload 3
8: iload 2
9: invokevirtual org.jruby.RubySymbol$SymbolTable.createSymbol:(Ljava/lang/String;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
astore 4
10: StackMap locals: int org.jruby.RubySymbol
StackMap stack:
aload 4
areturn
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/RubySymbol$SymbolTable;
0 11 1 bytes Lorg/jruby/util/ByteList;
0 11 2 hard Z
1 11 3 hash I
2 11 4 symbol Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
bytes
hard
public org.jruby.RubySymbol getSymbol(org.jruby.util.ByteList, org.jruby.RubySymbol$ObjBooleanConsumer<org.jruby.RubySymbol>, boolean);
descriptor: (Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol$ObjBooleanConsumer;Z)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jruby.RubySymbol.javaStringHashCode:(Lorg/jruby/util/ByteList;)I
istore 4
start local 4 1: aload 0
aload 1
iload 4
iload 3
invokevirtual org.jruby.RubySymbol$SymbolTable.findSymbol:(Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
astore 5
start local 5 2: aload 5
ifnonnull 5
3: aload 1
invokevirtual org.jruby.util.ByteList.dup:()Lorg/jruby/util/ByteList;
astore 1
4: aload 0
aload 1
invokevirtual org.jruby.util.ByteList.toString:()Ljava/lang/String;
aload 1
aload 2
iload 4
iload 3
invokevirtual org.jruby.RubySymbol$SymbolTable.createSymbol:(Ljava/lang/String;Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol$ObjBooleanConsumer;IZ)Lorg/jruby/RubySymbol;
areturn
5: StackMap locals: int org.jruby.RubySymbol
StackMap stack:
aload 2
aload 5
iconst_0
invokeinterface org.jruby.RubySymbol$ObjBooleanConsumer.accept:(Ljava/lang/Object;Z)V
6: aload 5
areturn
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 7 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 7 1 bytes Lorg/jruby/util/ByteList;
0 7 2 handler Lorg/jruby/RubySymbol$ObjBooleanConsumer<Lorg/jruby/RubySymbol;>;
0 7 3 hard Z
1 7 4 hash I
2 7 5 symbol Lorg/jruby/RubySymbol;
Signature: (Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol$ObjBooleanConsumer<Lorg/jruby/RubySymbol;>;Z)Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
bytes
handler
hard
private org.jruby.RubySymbol findSymbol(org.jruby.util.ByteList, int, boolean);
descriptor: (Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
iload 2
invokestatic org.jruby.RubySymbol$SymbolTable.getEntryFromTable:([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
start local 5 2: goto 8
3: StackMap locals: org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 1
iload 2
aload 5
invokestatic org.jruby.RubySymbol$SymbolTable.isSymbolMatch:(Lorg/jruby/util/ByteList;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)Z
ifeq 7
4: iload 3
ifeq 5
aload 5
invokevirtual org.jruby.RubySymbol$SymbolTable$SymbolEntry.setHardReference:()V
5: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 4
6: goto 9
7: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
StackMap locals:
StackMap stack:
8: aload 5
ifnonnull 3
end local 5 9: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 10 1 bytes Lorg/jruby/util/ByteList;
0 10 2 hash I
0 10 3 hard Z
1 10 4 symbol Lorg/jruby/RubySymbol;
2 9 5 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
bytes
hash
hard
public org.jruby.RubySymbol fastGetSymbol(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubySymbol$SymbolTable.fastGetSymbol:(Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 1 1 internedName Ljava/lang/String;
MethodParameters:
Name Flags
internedName
public org.jruby.RubySymbol fastGetSymbol(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
invokestatic org.jruby.RubySymbol.javaStringHashCode:(Ljava/lang/String;)I
istore 4
start local 4 2: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
iload 4
invokestatic org.jruby.RubySymbol$SymbolTable.getEntryFromTable:([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
start local 5 3: goto 9
4: StackMap locals: org.jruby.RubySymbol int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 1
iload 4
aload 5
invokestatic org.jruby.RubySymbol$SymbolTable.isSymbolMatch:(Ljava/lang/String;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)Z
ifeq 8
5: iload 2
ifeq 6
aload 5
invokevirtual org.jruby.RubySymbol$SymbolTable$SymbolEntry.setHardReference:()V
6: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 3
7: goto 10
8: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
StackMap locals:
StackMap stack:
9: aload 5
ifnonnull 4
end local 5 10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
11: aload 0
aload 1
iload 2
invokevirtual org.jruby.RubySymbol$SymbolTable.fastCreateSymbol:(Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
astore 3
12: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 13 1 internedName Ljava/lang/String;
0 13 2 hard Z
1 13 3 symbol Lorg/jruby/RubySymbol;
2 13 4 hash I
3 10 5 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
internedName
hard
private static org.jruby.RubySymbol$SymbolTable$SymbolEntry getEntryFromTable(org.jruby.RubySymbol$SymbolTable$SymbolEntry[], int);
descriptor: ([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
invokestatic org.jruby.RubySymbol$SymbolTable.getIndex:(I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 1 1 hash I
MethodParameters:
Name Flags
table
hash
private static boolean isSymbolMatch(java.lang.String, int, org.jruby.RubySymbol$SymbolTable$SymbolEntry);
descriptor: (Ljava/lang/String;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 2
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
if_icmpne 1
aload 0
aload 2
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
0 2 1 hash I
0 2 2 entry Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
name
hash
entry
private static boolean isSymbolMatch(org.jruby.util.ByteList, int, org.jruby.RubySymbol$SymbolTable$SymbolEntry);
descriptor: (Lorg/jruby/util/ByteList;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 2
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
if_icmpne 1
aload 0
aload 2
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.bytes:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bytes Lorg/jruby/util/ByteList;
0 2 1 hash I
0 2 2 entry Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
bytes
hash
entry
private org.jruby.RubySymbol createSymbol(java.lang.String, org.jruby.util.ByteList, int, boolean);
descriptor: (Ljava/lang/String;Lorg/jruby/util/ByteList;IZ)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.tableLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 5
start local 5 1: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
invokevirtual org.jruby.RubySymbol$SymbolTable.getTableForCreate:()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 6
start local 6 3: iload 3
aload 6
invokestatic org.jruby.RubySymbol$SymbolTable.getIndex:(I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
istore 7
start local 7 4: aload 0
aload 1
aload 6
iload 3
iload 7
invokevirtual org.jruby.RubySymbol$SymbolTable.lookupSymbol:(Ljava/lang/String;[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;II)Lorg/jruby/RubySymbol;
astore 8
start local 8 5: aload 8
ifnonnull 9
6: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 9
start local 9 7: new org.jruby.RubySymbol
dup
aload 0
getfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
aload 9
aload 2
invokespecial org.jruby.RubySymbol.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/util/ByteList;)V
astore 8
8: aload 0
aload 2
iload 3
iload 4
aload 6
iload 7
aload 8
aload 9
invokevirtual org.jruby.RubySymbol$SymbolTable.storeSymbol:(Lorg/jruby/util/ByteList;IZ[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol;Ljava/lang/String;)V
end local 9 9: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String org.jruby.util.ByteList int int java.util.concurrent.locks.ReentrantLock org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int org.jruby.RubySymbol
StackMap stack:
aload 8
astore 11
10: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
11: aload 11
areturn
end local 8 end local 7 end local 6 12: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String org.jruby.util.ByteList int int java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
astore 10
13: aload 5
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
14: aload 10
athrow
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 15 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 15 1 name Ljava/lang/String;
0 15 2 value Lorg/jruby/util/ByteList;
0 15 3 hash I
0 15 4 hard Z
1 15 5 lock Ljava/util/concurrent/locks/ReentrantLock;
3 12 6 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
4 12 7 index I
5 12 8 symbol Lorg/jruby/RubySymbol;
7 9 9 internedName Ljava/lang/String;
Exception table:
from to target type
2 10 12 any
MethodParameters:
Name Flags
name final
value final
hash final
hard
private org.jruby.RubySymbol createSymbol(java.lang.String, org.jruby.util.ByteList, org.jruby.RubySymbol$ObjBooleanConsumer<org.jruby.RubySymbol>, int, boolean);
descriptor: (Ljava/lang/String;Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol$ObjBooleanConsumer;IZ)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.tableLock:Ljava/util/concurrent/locks/ReentrantLock;
astore 6
start local 6 1: aload 6
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
invokevirtual org.jruby.RubySymbol$SymbolTable.getTableForCreate:()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 7
start local 7 3: iload 4
aload 7
invokestatic org.jruby.RubySymbol$SymbolTable.getIndex:(I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
istore 8
start local 8 4: aload 0
aload 1
aload 7
iload 4
iload 8
invokevirtual org.jruby.RubySymbol$SymbolTable.lookupSymbol:(Ljava/lang/String;[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;II)Lorg/jruby/RubySymbol;
astore 9
start local 9 5: aload 9
ifnonnull 11
6: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 10
start local 10 7: new org.jruby.RubySymbol
dup
aload 0
getfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
aload 10
aload 2
invokespecial org.jruby.RubySymbol.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/util/ByteList;)V
astore 9
8: aload 3
aload 9
iconst_1
invokeinterface org.jruby.RubySymbol$ObjBooleanConsumer.accept:(Ljava/lang/Object;Z)V
9: aload 0
aload 2
iload 4
iload 5
aload 7
iload 8
aload 9
aload 10
invokevirtual org.jruby.RubySymbol$SymbolTable.storeSymbol:(Lorg/jruby/util/ByteList;IZ[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol;Ljava/lang/String;)V
end local 10 10: goto 12
11: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String org.jruby.util.ByteList org.jruby.RubySymbol$ObjBooleanConsumer int int java.util.concurrent.locks.ReentrantLock org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int org.jruby.RubySymbol
StackMap stack:
aload 3
aload 9
iconst_0
invokeinterface org.jruby.RubySymbol$ObjBooleanConsumer.accept:(Ljava/lang/Object;Z)V
12: StackMap locals:
StackMap stack:
aload 9
astore 12
13: aload 6
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
14: aload 12
areturn
end local 9 end local 8 end local 7 15: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String org.jruby.util.ByteList org.jruby.RubySymbol$ObjBooleanConsumer int int java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
astore 11
16: aload 6
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 11
athrow
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 18 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 18 1 name Ljava/lang/String;
0 18 2 value Lorg/jruby/util/ByteList;
0 18 3 handler Lorg/jruby/RubySymbol$ObjBooleanConsumer<Lorg/jruby/RubySymbol;>;
0 18 4 hash I
0 18 5 hard Z
1 18 6 lock Ljava/util/concurrent/locks/ReentrantLock;
3 15 7 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
4 15 8 index I
5 15 9 symbol Lorg/jruby/RubySymbol;
7 10 10 internedName Ljava/lang/String;
Exception table:
from to target type
2 13 15 any
Signature: (Ljava/lang/String;Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol$ObjBooleanConsumer<Lorg/jruby/RubySymbol;>;IZ)Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
name final
value final
handler
hash final
hard
private void storeSymbol(org.jruby.util.ByteList, int, boolean, org.jruby.RubySymbol$SymbolTable$SymbolEntry[], int, org.jruby.RubySymbol, java.lang.String);
descriptor: (Lorg/jruby/util/ByteList;IZ[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 4
iload 5
new org.jruby.RubySymbol$SymbolTable$SymbolEntry
dup
iload 2
aload 7
aload 1
aload 6
aload 4
iload 5
aaload
iload 3
invokespecial org.jruby.RubySymbol$SymbolTable$SymbolEntry.<init>:(ILjava/lang/String;Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol;Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;Z)V
aastore
1: aload 0
dup
getfield org.jruby.RubySymbol$SymbolTable.size:I
iconst_1
iadd
putfield org.jruby.RubySymbol$SymbolTable.size:I
2: aload 0
aload 4
putfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
3: return
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 4 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 4 1 value Lorg/jruby/util/ByteList;
0 4 2 hash I
0 4 3 hard Z
0 4 4 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 4 5 index I
0 4 6 symbol Lorg/jruby/RubySymbol;
0 4 7 internedName Ljava/lang/String;
MethodParameters:
Name Flags
value
hash
hard
table
index
symbol
internedName
private org.jruby.RubySymbol fastCreateSymbol(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.tableLock:Ljava/util/concurrent/locks/ReentrantLock;
dup
astore 3
start local 3 1: invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
invokevirtual org.jruby.RubySymbol$SymbolTable.getTableForCreate:()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 4
start local 4 3: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 5
start local 5 4: iload 5
aload 4
invokestatic org.jruby.RubySymbol$SymbolTable.getIndex:(I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
istore 6
start local 6 5: aload 0
aload 1
aload 4
iload 6
invokevirtual org.jruby.RubySymbol$SymbolTable.lookupSymbolByString:(Ljava/lang/String;[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol;
astore 7
start local 7 6: aload 7
ifnonnull 9
7: new org.jruby.RubySymbol
dup
aload 0
getfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
aload 1
invokespecial org.jruby.RubySymbol.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;)V
astore 7
8: aload 0
aload 7
invokevirtual org.jruby.RubySymbol.getBytes:()Lorg/jruby/util/ByteList;
iload 5
iload 2
aload 4
iload 6
aload 7
aload 1
invokevirtual org.jruby.RubySymbol$SymbolTable.storeSymbol:(Lorg/jruby/util/ByteList;IZ[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol;Ljava/lang/String;)V
9: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String int java.util.concurrent.locks.ReentrantLock org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol
StackMap stack:
aload 7
astore 9
10: aload 3
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
11: aload 9
areturn
end local 7 end local 6 end local 5 end local 4 12: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String int java.util.concurrent.locks.ReentrantLock
StackMap stack: java.lang.Throwable
astore 8
13: aload 3
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
14: aload 8
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 15 1 internedName Ljava/lang/String;
0 15 2 hard Z
1 15 3 lock Ljava/util/concurrent/locks/ReentrantLock;
3 12 4 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
4 12 5 hash I
5 12 6 index I
6 12 7 symbol Lorg/jruby/RubySymbol;
Exception table:
from to target type
2 10 12 any
MethodParameters:
Name Flags
internedName final
hard
private static int getIndex(int, org.jruby.RubySymbol$SymbolTable$SymbolEntry[]);
descriptor: (I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
aload 1
arraylength
iconst_1
isub
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hash I
0 1 1 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
hash
table
private org.jruby.RubySymbol$SymbolTable$SymbolEntry[] getTableForCreate();
descriptor: ()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.size:I
aload 0
getfield org.jruby.RubySymbol$SymbolTable.threshold:I
if_icmple 1
aload 0
invokevirtual org.jruby.RubySymbol$SymbolTable.rehash:()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
StackMap locals:
StackMap stack: org.jruby.RubySymbol$SymbolTable$SymbolEntry[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubySymbol$SymbolTable;
private org.jruby.RubySymbol lookupSymbol(java.lang.String, org.jruby.RubySymbol$SymbolTable$SymbolEntry[], int, int);
descriptor: (Ljava/lang/String;[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;II)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 2
iload 4
aaload
astore 7
start local 7 3: goto 13
4: StackMap locals: org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 8
start local 8 5: aload 8
ifnonnull 8
6: aload 0
aload 2
iload 4
aload 6
aload 7
invokevirtual org.jruby.RubySymbol$SymbolTable.removeDeadEntry:([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)V
7: iload 3
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
if_icmpne 12
aload 1
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 12
8: StackMap locals: org.jruby.RubySymbol
StackMap stack:
aload 7
astore 6
9: iload 3
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
if_icmpne 12
aload 1
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 8
astore 5
11: goto 14
end local 8 12: StackMap locals:
StackMap stack:
aload 7
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 7
StackMap locals:
StackMap stack:
13: aload 7
ifnonnull 4
end local 7 end local 6 14: StackMap locals:
StackMap stack:
aload 5
areturn
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 15 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 15 1 name Ljava/lang/String;
0 15 2 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 15 3 hash I
0 15 4 index I
1 15 5 symbol Lorg/jruby/RubySymbol;
2 14 6 last Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
3 14 7 curr Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
5 12 8 localSymbol Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
name
table
hash
index
private org.jruby.RubySymbol lookupSymbolByString(java.lang.String, org.jruby.RubySymbol$SymbolTable$SymbolEntry[], int);
descriptor: (Ljava/lang/String;[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;I)Lorg/jruby/RubySymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: aload 2
iload 3
aaload
astore 6
start local 6 3: goto 13
4: StackMap locals: org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 7
start local 7 5: aload 7
ifnonnull 8
6: aload 0
aload 2
iload 3
aload 5
aload 6
invokevirtual org.jruby.RubySymbol$SymbolTable.removeDeadEntry:([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)V
7: aload 1
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
if_acmpeq 8
goto 12
8: StackMap locals: org.jruby.RubySymbol
StackMap stack:
aload 6
astore 5
9: aload 1
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
if_acmpne 12
10: aload 7
astore 4
11: goto 14
end local 7 12: StackMap locals:
StackMap stack:
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 6
StackMap locals:
StackMap stack:
13: aload 6
ifnonnull 4
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 15 1 internedName Ljava/lang/String;
0 15 2 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 15 3 index I
1 15 4 symbol Lorg/jruby/RubySymbol;
2 14 5 last Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
3 14 6 curr Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
5 12 7 localSymbol Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
internedName
table
index
private void removeDeadEntry(org.jruby.RubySymbol$SymbolTable$SymbolEntry[], int, org.jruby.RubySymbol$SymbolTable$SymbolEntry, org.jruby.RubySymbol$SymbolTable$SymbolEntry);
descriptor: ([Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;ILorg/jruby/RubySymbol$SymbolTable$SymbolEntry;Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 3
1: aload 1
iload 2
aload 4
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
aastore
2: goto 4
3: StackMap locals:
StackMap stack:
aload 3
aload 4
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
putfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.RubySymbol$SymbolTable.size:I
iconst_1
isub
putfield org.jruby.RubySymbol$SymbolTable.size:I
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 6 1 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 6 2 index I
0 6 3 last Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
0 6 4 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
table
index
last
e
public org.jruby.RubySymbol lookup(long);
descriptor: (J)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 3
start local 3 1: aload 3
arraylength
istore 5
start local 5 2: goto 9
3: StackMap locals: org.jruby.RubySymbol$SymbolTable long org.jruby.RubySymbol$SymbolTable$SymbolEntry[] top int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 4: goto 8
5: StackMap locals: org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 4
start local 4 6: aload 4
ifnull 7
lload 1
aload 4
getfield org.jruby.RubySymbol.id:I
i2l
lcmp
ifne 7
aload 4
areturn
7: StackMap locals: org.jruby.RubySymbol$SymbolTable long org.jruby.RubySymbol$SymbolTable$SymbolEntry[] org.jruby.RubySymbol int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 6
end local 4 StackMap locals: org.jruby.RubySymbol$SymbolTable long org.jruby.RubySymbol$SymbolTable$SymbolEntry[] top int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
8: aload 6
ifnonnull 5
end local 6 9: StackMap locals:
StackMap stack:
iinc 5 -1
iload 5
ifge 3
end local 5 10: aconst_null
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 11 1 id J
1 11 3 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
6 8 4 symbol Lorg/jruby/RubySymbol;
2 10 5 i I
4 9 6 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
MethodParameters:
Name Flags
id
public org.jruby.RubyArray all_symbols();
descriptor: ()Lorg/jruby/RubyArray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 1
start local 1 1: aload 0
getfield org.jruby.RubySymbol$SymbolTable.runtime:Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubySymbol$SymbolTable.size:I
invokevirtual org.jruby.Ruby.newArray:(I)Lorg/jruby/RubyArray;
astore 2
start local 2 2: aload 1
arraylength
istore 4
start local 4 3: goto 10
4: StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] org.jruby.RubyArray top int
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 5: goto 9
6: StackMap locals: org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 3
start local 3 7: aload 3
ifnull 8
aload 2
aload 3
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
8: StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] org.jruby.RubyArray org.jruby.RubySymbol int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
end local 3 StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] org.jruby.RubyArray top int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
9: aload 5
ifnonnull 6
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 -1
iload 4
ifge 4
end local 4 11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/RubySymbol$SymbolTable;
1 12 1 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
2 12 2 array Lorg/jruby/RubyArray;
7 9 3 symbol Lorg/jruby/RubySymbol;
3 11 4 i I
5 10 5 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySymbol$SymbolTable;
private org.jruby.RubySymbol$SymbolTable$SymbolEntry[] rehash();
descriptor: ()[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=15, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iload 2
ldc 65536
if_icmplt 3
aload 1
areturn
3: StackMap locals: org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int
StackMap stack:
iload 2
iconst_1
ishl
istore 3
start local 3 4: iload 3
anewarray org.jruby.RubySymbol$SymbolTable$SymbolEntry
astore 4
start local 4 5: aload 0
iload 3
i2f
aload 0
getfield org.jruby.RubySymbol$SymbolTable.loadFactor:F
fmul
f2i
putfield org.jruby.RubySymbol$SymbolTable.threshold:I
6: iload 3
iconst_1
isub
istore 5
start local 5 7: iload 2
istore 7
start local 7 8: goto 37
9: StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int top int
StackMap stack:
aload 1
iload 7
aaload
astore 6
start local 6 10: aload 6
ifnonnull 11
goto 37
11: StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int org.jruby.RubySymbol$SymbolTable$SymbolEntry int
StackMap stack:
aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 8
start local 8 12: aload 6
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
iload 5
iand
istore 9
start local 9 13: aload 8
ifnonnull 16
14: aload 4
iload 9
aload 6
aastore
15: goto 37
16: StackMap locals: org.jruby.RubySymbol$SymbolTable$SymbolEntry int
StackMap stack:
aload 6
astore 10
start local 10 17: iload 9
istore 11
start local 11 18: aload 8
astore 12
start local 12 19: goto 25
20: StackMap locals: org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
iload 5
iand
istore 13
start local 13 21: iload 13
iload 11
if_icmpeq 24
22: iload 13
istore 11
23: aload 12
astore 10
end local 13 24: StackMap locals:
StackMap stack:
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 12
25: StackMap locals:
StackMap stack:
aload 12
ifnonnull 20
end local 12 26: aload 4
iload 11
aload 10
aastore
27: aload 6
astore 12
start local 12 28: goto 36
29: StackMap locals:
StackMap stack:
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
iload 5
iand
istore 13
start local 13 30: aload 4
iload 13
aaload
astore 14
start local 14 31: aload 4
iload 13
32: new org.jruby.RubySymbol$SymbolTable$SymbolEntry
dup
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.bytes:Lorg/jruby/util/ByteList;
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
aload 14
aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hardReference:Lorg/jruby/RubySymbol;
ifnull 33
iconst_1
goto 34
StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack: org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int new 32 new 32 int java.lang.String org.jruby.util.ByteList org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry
33: iconst_0
StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry int org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack: org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int new 32 new 32 int java.lang.String org.jruby.util.ByteList org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry int
34: invokespecial org.jruby.RubySymbol$SymbolTable$SymbolEntry.<init>:(ILjava/lang/String;Lorg/jruby/util/ByteList;Lorg/jruby/RubySymbol;Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;Z)V
aastore
end local 14 end local 13 35: aload 12
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 12
StackMap locals:
StackMap stack:
36: aload 12
aload 10
if_acmpne 29
end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 37: StackMap locals: org.jruby.RubySymbol$SymbolTable org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] int top int
StackMap stack:
iinc 7 -1
iload 7
ifge 9
end local 7 38: aload 0
aload 4
putfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
39: aload 4
areturn
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 40 0 this Lorg/jruby/RubySymbol$SymbolTable;
1 40 1 oldTable [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
2 40 2 oldCapacity I
4 40 3 newCapacity I
5 40 4 newTable [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
7 40 5 sizeMask I
10 37 6 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
8 38 7 i I
12 37 8 next Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
13 37 9 idx I
17 37 10 lastRun Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
18 37 11 lastIdx I
19 26 12 last Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
21 24 13 k I
28 37 12 p Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
30 35 13 k I
31 35 14 n Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
public org.jruby.RubySymbol lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.hashCode:()I
istore 2
start local 2 1: aload 0
getfield org.jruby.RubySymbol$SymbolTable.symbolTable:[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 3
iload 2
aload 3
invokestatic org.jruby.RubySymbol$SymbolTable.getIndex:(I[Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;)I
aaload
astore 5
start local 5 4: goto 9
5: StackMap locals: org.jruby.RubySymbol$SymbolTable java.lang.String int org.jruby.RubySymbol$SymbolTable$SymbolEntry[] org.jruby.RubySymbol org.jruby.RubySymbol$SymbolTable$SymbolEntry
StackMap stack:
iload 2
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.hash:I
if_icmpne 8
aload 1
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.symbol:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast org.jruby.RubySymbol
astore 4
7: aload 4
ifnull 8
goto 10
8: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.RubySymbol$SymbolTable$SymbolEntry.next:Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
astore 5
9: StackMap locals:
StackMap stack:
aload 5
ifnonnull 5
10: StackMap locals:
StackMap stack:
aload 4
areturn
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 11 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 11 1 name Ljava/lang/String;
1 11 2 hash I
2 11 3 table [Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
3 11 4 symbol Lorg/jruby/RubySymbol;
4 11 5 e Lorg/jruby/RubySymbol$SymbolTable$SymbolEntry;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
public void store(org.jruby.RubySymbol);
descriptor: (Lorg/jruby/RubySymbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySymbol$SymbolTable;
0 1 1 symbol Lorg/jruby/RubySymbol;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
symbol
}
SourceFile: "RubySymbol.java"
NestHost: org.jruby.RubySymbol
InnerClasses:
public abstract ObjBooleanConsumer = org.jruby.RubySymbol$ObjBooleanConsumer of org.jruby.RubySymbol
public final SymbolTable = org.jruby.RubySymbol$SymbolTable of org.jruby.RubySymbol
final SymbolEntry = org.jruby.RubySymbol$SymbolTable$SymbolEntry of org.jruby.RubySymbol$SymbolTable