public class org.jruby.util.WeakIdentityHashMap extends org.jruby.util.GenericMap implements java.util.Map
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.WeakIdentityHashMap
super_class: org.jruby.util.GenericMap
{
private static final float DEFAULT_RATIO;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.75
private static final java.lang.Object NULL_KEY;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.ref.ReferenceQueue queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jruby.util.WeakIdentityHashMap$Entry[] table;
descriptor: [Lorg/jruby/util/WeakIdentityHashMap$Entry;
flags: (0x0002) ACC_PRIVATE
private int range;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float ratio;
descriptor: F
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.jruby.util.WeakIdentityHashMap.NULL_KEY:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Object unmaskKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.util.WeakIdentityHashMap.NULL_KEY:Ljava/lang/Object;
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
private java.lang.Object maskKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic org.jruby.util.WeakIdentityHashMap.NULL_KEY:Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 3 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
private int index(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ldc 134217727
iand
aload 0
getfield org.jruby.util.WeakIdentityHashMap.range:I
irem
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 1 1 hash I
MethodParameters:
Name Flags
hash
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.util.GenericMap.<init>:()V
1: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield org.jruby.util.WeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
2: aload 0
iconst_3
invokevirtual org.jruby.util.WeakIdentityHashMap.clear:(I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/WeakIdentityHashMap;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.util.GenericMap.<init>:()V
1: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield org.jruby.util.WeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
2: aload 0
iconst_3
iload 1
i2f
ldc 0.75
fdiv
invokestatic java.lang.Math.round:(F)I
invokestatic java.lang.Math.max:(II)I
invokevirtual org.jruby.util.WeakIdentityHashMap.clear:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 4 1 size I
MethodParameters:
Name Flags
size
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_3
invokevirtual org.jruby.util.WeakIdentityHashMap.clear:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/WeakIdentityHashMap;
private void clear(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jruby.util.WeakIdentityHashMap.range:I
1: aload 0
iconst_0
putfield org.jruby.util.WeakIdentityHashMap.size:I
2: aload 0
ldc 0.75
putfield org.jruby.util.WeakIdentityHashMap.ratio:F
3: aload 0
aload 0
getfield org.jruby.util.WeakIdentityHashMap.range:I
anewarray org.jruby.util.WeakIdentityHashMap$Entry
putfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 5 1 size I
MethodParameters:
Name Flags
size
private void expunge();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 2
start local 1 1: StackMap locals: org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.removeEntry:(Lorg/jruby/util/WeakIdentityHashMap$Entry;)V
end local 1 2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.WeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast org.jruby.util.WeakIdentityHashMap$Entry
dup
astore 1
start local 1 3: ifnonnull 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/WeakIdentityHashMap;
1 2 1 e Lorg/jruby/util/WeakIdentityHashMap$Entry;
3 5 1 e Lorg/jruby/util/WeakIdentityHashMap$Entry;
public java.lang.Object get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.maskKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.keyHash:(Ljava/lang/Object;)I
istore 3
start local 3 2: aload 0
iload 3
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.get:(ILjava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 3 1 key Ljava/lang/Object;
1 3 2 masked_key Ljava/lang/Object;
2 3 3 hash I
MethodParameters:
Name Flags
key
private java.lang.Object get(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 3
start local 3 1: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.expunge:()V
2: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 3
aaload
astore 4
start local 4 3: goto 7
4: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 4
iload 1
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.sameKey:(ILjava/lang/Object;)Z
ifeq 6
5: aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.value:Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 4
StackMap locals:
StackMap stack:
7: aload 4
ifnonnull 4
end local 4 8: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 9 1 hash I
0 9 2 masked_key Ljava/lang/Object;
1 9 3 idx I
3 8 4 ent Lorg/jruby/util/WeakIdentityHashMap$Entry;
MethodParameters:
Name Flags
hash
masked_key
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.maskKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.keyHash:(Ljava/lang/Object;)I
istore 3
start local 3 2: aload 0
iload 3
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.containsKey:(ILjava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 3 1 key Ljava/lang/Object;
1 3 2 masked_key Ljava/lang/Object;
2 3 3 hash I
MethodParameters:
Name Flags
key
private boolean containsKey(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 3
start local 3 1: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.expunge:()V
2: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 3
aaload
astore 4
start local 4 3: goto 7
4: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 4
iload 1
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.sameKey:(ILjava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 4
StackMap locals:
StackMap stack:
7: aload 4
ifnonnull 4
end local 4 8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 9 1 hash I
0 9 2 masked_key Ljava/lang/Object;
1 9 3 idx I
3 8 4 ent Lorg/jruby/util/WeakIdentityHashMap$Entry;
MethodParameters:
Name Flags
hash
masked_key
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.maskKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual org.jruby.util.WeakIdentityHashMap.keyHash:(Ljava/lang/Object;)I
istore 4
start local 4 2: aload 0
iload 4
aload 3
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.put:(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 3 1 key Ljava/lang/Object;
0 3 2 value Ljava/lang/Object;
1 3 3 masked_key Ljava/lang/Object;
2 3 4 hash I
MethodParameters:
Name Flags
key
value
private java.lang.Object put(int, java.lang.Object, java.lang.Object);
descriptor: (ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 4
start local 4 1: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 4
aaload
astore 5
start local 5 2: goto 6
3: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 5
iload 1
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.sameKey:(ILjava/lang/Object;)Z
ifeq 5
4: aload 5
aload 3
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.setValue:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 5
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 5
StackMap locals:
StackMap stack:
6: aload 5
ifnonnull 3
end local 5 7: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.expunge:()V
8: fconst_1
aload 0
getfield org.jruby.util.WeakIdentityHashMap.size:I
i2f
fmul
aload 0
getfield org.jruby.util.WeakIdentityHashMap.range:I
i2f
fdiv
aload 0
getfield org.jruby.util.WeakIdentityHashMap.ratio:F
fcmpl
ifle 11
9: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.grow:()V
10: aload 0
iload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 4
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 4
new org.jruby.util.WeakIdentityHashMap$Entry
dup
aload 0
iload 1
aload 2
aload 3
aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 4
aaload
aload 0
getfield org.jruby.util.WeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial org.jruby.util.WeakIdentityHashMap$Entry.<init>:(Lorg/jruby/util/WeakIdentityHashMap;ILjava/lang/Object;Ljava/lang/Object;Lorg/jruby/util/WeakIdentityHashMap$Entry;Ljava/lang/ref/ReferenceQueue;)V
aastore
12: aload 0
dup
getfield org.jruby.util.WeakIdentityHashMap.size:I
iconst_1
iadd
putfield org.jruby.util.WeakIdentityHashMap.size:I
13: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 14 1 hash I
0 14 2 masked_key Ljava/lang/Object;
0 14 3 value Ljava/lang/Object;
1 14 4 idx I
2 7 5 ent Lorg/jruby/util/WeakIdentityHashMap$Entry;
MethodParameters:
Name Flags
hash
masked_key
value
public java.lang.Object remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.maskKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
1: aload 0
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.keyHash:(Ljava/lang/Object;)I
istore 2
start local 2 2: aload 0
iload 2
aload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.remove:(ILjava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 3 1 key Ljava/lang/Object;
2 3 2 hash I
MethodParameters:
Name Flags
key
public java.lang.Object remove(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap.maskKey:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
1: aload 0
iload 1
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 3
start local 3 2: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 3
aaload
astore 4
start local 4 3: aload 4
ifnull 17
4: aload 4
iload 1
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.sameKey:(ILjava/lang/Object;)Z
ifeq 8
5: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 3
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
aastore
6: aload 0
dup
getfield org.jruby.util.WeakIdentityHashMap.size:I
iconst_1
isub
putfield org.jruby.util.WeakIdentityHashMap.size:I
7: aload 4
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.getValue:()Ljava/lang/Object;
areturn
8: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 5
start local 5 9: goto 16
10: StackMap locals: org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 5
iload 1
aload 2
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.sameKey:(ILjava/lang/Object;)Z
ifeq 14
11: aload 4
aload 5
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
putfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
12: aload 0
dup
getfield org.jruby.util.WeakIdentityHashMap.size:I
iconst_1
isub
putfield org.jruby.util.WeakIdentityHashMap.size:I
13: aload 5
invokevirtual org.jruby.util.WeakIdentityHashMap$Entry.getValue:()Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
aload 5
astore 4
15: aload 5
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 5
16: StackMap locals:
StackMap stack:
aload 5
ifnonnull 10
end local 5 17: StackMap locals:
StackMap stack:
aconst_null
areturn
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/util/WeakIdentityHashMap;
0 18 1 hash I
0 18 2 key Ljava/lang/Object;
2 18 3 idx I
3 18 4 entry Lorg/jruby/util/WeakIdentityHashMap$Entry;
9 17 5 ahead Lorg/jruby/util/WeakIdentityHashMap$Entry;
MethodParameters:
Name Flags
hash
key
private void removeEntry(org.jruby.util.WeakIdentityHashMap$Entry);
descriptor: (Lorg/jruby/util/WeakIdentityHashMap$Entry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.jruby.util.WeakIdentityHashMap$Entry.key_hash:I
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 2
start local 2 1: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 2
aaload
astore 3
start local 3 2: aload 3
ifnull 16
3: aload 3
aload 1
if_acmpne 7
4: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 2
aload 3
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
aastore
5: aload 0
dup
getfield org.jruby.util.WeakIdentityHashMap.size:I
iconst_1
isub
putfield org.jruby.util.WeakIdentityHashMap.size:I
6: return
7: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 3
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 4
start local 4 8: goto 15
9: StackMap locals: org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 4
aload 1
if_acmpne 13
10: aload 3
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
putfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
11: aload 0
dup
getfield org.jruby.util.WeakIdentityHashMap.size:I
iconst_1
isub
putfield org.jruby.util.WeakIdentityHashMap.size:I
12: return
13: StackMap locals:
StackMap stack:
aload 4
astore 3
14: aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 4
15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 9
end local 4 16: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.jruby.util.WeakIdentityHashMap$Entry.value:Ljava/lang/Object;
invokevirtual org.jruby.util.WeakIdentityHashMap.valueRemoved:(Ljava/lang/Object;)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 18 1 ent Lorg/jruby/util/WeakIdentityHashMap$Entry;
1 18 2 idx I
2 18 3 entry Lorg/jruby/util/WeakIdentityHashMap$Entry;
8 16 4 ahead Lorg/jruby/util/WeakIdentityHashMap$Entry;
MethodParameters:
Name Flags
ent
protected void valueRemoved(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
private void grow();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.WeakIdentityHashMap.range:I
istore 1
start local 1 1: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 2
start local 2 2: aload 0
iload 1
iconst_2
imul
iconst_1
iadd
putfield org.jruby.util.WeakIdentityHashMap.range:I
3: aload 0
aload 0
getfield org.jruby.util.WeakIdentityHashMap.range:I
anewarray org.jruby.util.WeakIdentityHashMap$Entry
putfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
4: iconst_0
istore 3
start local 3 5: goto 15
6: StackMap locals: int org.jruby.util.WeakIdentityHashMap$Entry[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 7: goto 13
8: StackMap locals: org.jruby.util.WeakIdentityHashMap$Entry
StackMap stack:
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
astore 5
start local 5 9: aload 0
aload 4
getfield org.jruby.util.WeakIdentityHashMap$Entry.key_hash:I
invokevirtual org.jruby.util.WeakIdentityHashMap.index:(I)I
istore 6
start local 6 10: aload 4
aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 6
aaload
putfield org.jruby.util.WeakIdentityHashMap$Entry.next:Lorg/jruby/util/WeakIdentityHashMap$Entry;
11: aload 0
getfield org.jruby.util.WeakIdentityHashMap.table:[Lorg/jruby/util/WeakIdentityHashMap$Entry;
iload 6
aload 4
aastore
12: aload 5
astore 4
end local 6 end local 5 13: StackMap locals:
StackMap stack:
aload 4
ifnonnull 8
end local 4 14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 1
if_icmplt 6
end local 3 16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/util/WeakIdentityHashMap;
1 17 1 old_range I
2 17 2 old_table [Lorg/jruby/util/WeakIdentityHashMap$Entry;
5 16 3 i I
7 14 4 entry Lorg/jruby/util/WeakIdentityHashMap$Entry;
9 13 5 ahead Lorg/jruby/util/WeakIdentityHashMap$Entry;
10 13 6 idx I
protected java.util.Iterator entryIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.util.WeakIdentityHashMap$EntryIterator
dup
aload 0
invokespecial org.jruby.util.WeakIdentityHashMap$EntryIterator.<init>:(Lorg/jruby/util/WeakIdentityHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/WeakIdentityHashMap;
protected final int keyHash(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/WeakIdentityHashMap;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
protected final boolean keyEquals(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
if_acmpne 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 this Lorg/jruby/util/WeakIdentityHashMap;
0 2 1 key1 Ljava/lang/Object;
0 2 2 key2 Ljava/lang/Object;
MethodParameters:
Name Flags
key1
key2
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.expunge:()V
1: aload 0
invokespecial org.jruby.util.GenericMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/WeakIdentityHashMap;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.WeakIdentityHashMap.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/WeakIdentityHashMap;
}
SourceFile: "WeakIdentityHashMap.java"
NestMembers:
org.jruby.util.WeakIdentityHashMap$Entry org.jruby.util.WeakIdentityHashMap$EntryIterator
InnerClasses:
Entry = org.jruby.util.WeakIdentityHashMap$Entry of org.jruby.util.WeakIdentityHashMap
final EntryIterator = org.jruby.util.WeakIdentityHashMap$EntryIterator of org.jruby.util.WeakIdentityHashMap