abstract class org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator
super_class: java.lang.Object
{
int nextSegmentIndex;
descriptor: I
flags: (0x0000)
int nextTableIndex;
descriptor: I
flags: (0x0000)
org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry<K, V>[] currentTable;
descriptor: [Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
flags: (0x0000)
Signature: [Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry<TK;TV;>;
org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry<K, V> nextEntry;
descriptor: Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
flags: (0x0000)
Signature: Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry<TK;TV;>;
org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry<K, V> lastReturned;
descriptor: Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
flags: (0x0000)
Signature: Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry<TK;TV;>;
K currentKey;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TK;
final org.jruby.util.collections.ConcurrentWeakHashMap this$0;
descriptor: Lorg/jruby/util/collections/ConcurrentWeakHashMap;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.util.collections.ConcurrentWeakHashMap);
descriptor: (Lorg/jruby/util/collections/ConcurrentWeakHashMap;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.this$0:Lorg/jruby/util/collections/ConcurrentWeakHashMap;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.jruby.util.collections.ConcurrentWeakHashMap.segments:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$Segment;
arraylength
iconst_1
isub
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextSegmentIndex:I
2: aload 0
iconst_m1
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextTableIndex:I
3: aload 0
invokevirtual org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.advance:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
MethodParameters:
Name Flags
this$0 final
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
final void advance();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnull 4
aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry.next:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
dup_x1
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnull 4
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentTable:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
aload 0
dup
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextTableIndex:I
dup_x1
iconst_1
isub
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextTableIndex:I
aaload
dup_x1
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextTableIndex:I
ifge 2
5: goto 16
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.this$0:Lorg/jruby/util/collections/ConcurrentWeakHashMap;
getfield org.jruby.util.collections.ConcurrentWeakHashMap.segments:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$Segment;
aload 0
dup
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextSegmentIndex:I
dup_x1
iconst_1
isub
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextSegmentIndex:I
aaload
astore 1
start local 1 7: aload 1
getfield org.jruby.util.collections.ConcurrentWeakHashMap$Segment.count:I
ifeq 16
8: aload 0
aload 1
getfield org.jruby.util.collections.ConcurrentWeakHashMap$Segment.table:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentTable:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
9: aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentTable:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
arraylength
iconst_1
isub
istore 2
start local 2 10: goto 15
11: StackMap locals: org.jruby.util.collections.ConcurrentWeakHashMap$Segment int
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentTable:[Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
iload 2
aaload
dup_x1
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnull 14
12: aload 0
iload 2
iconst_1
isub
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextTableIndex:I
13: return
14: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
15: iload 2
ifge 11
end local 2 end local 1 16: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextSegmentIndex:I
ifge 6
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
7 16 1 seg Lorg/jruby/util/collections/ConcurrentWeakHashMap$Segment<TK;TV;>;
10 16 2 j I
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry.keyRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnull 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.advance:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnonnull 1
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry<K, V> nextEntry();
descriptor: ()Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnonnull 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.nextEntry:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.lastReturned:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
3: aload 0
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.lastReturned:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry.keyRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentKey:Ljava/lang/Object;
4: aload 0
invokevirtual org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.advance:()V
5: aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentKey:Ljava/lang/Object;
ifnull 0
6: aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.lastReturned:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
Signature: ()Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry<TK;TV;>;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.lastReturned:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.this$0:Lorg/jruby/util/collections/ConcurrentWeakHashMap;
aload 0
getfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.currentKey:Ljava/lang/Object;
invokevirtual org.jruby.util.collections.ConcurrentWeakHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aconst_null
putfield org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator.lastReturned:Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashEntry;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/util/collections/ConcurrentWeakHashMap$HashIterator;
}
SourceFile: "ConcurrentWeakHashMap.java"
NestHost: org.jruby.util.collections.ConcurrentWeakHashMap
InnerClasses:
final HashEntry = org.jruby.util.collections.ConcurrentWeakHashMap$HashEntry of org.jruby.util.collections.ConcurrentWeakHashMap
abstract HashIterator = org.jruby.util.collections.ConcurrentWeakHashMap$HashIterator of org.jruby.util.collections.ConcurrentWeakHashMap
final Segment = org.jruby.util.collections.ConcurrentWeakHashMap$Segment of org.jruby.util.collections.ConcurrentWeakHashMap