final class org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer
super_class: java.lang.Object
{
private static final int QUEUE_INCREMENT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger resizers;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicReferenceArray nextArray;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger queuePosition;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: sipush 1024
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
invokestatic java.lang.Integer.highestOneBit:(I)I
iconst_4
ishl
invokestatic java.lang.Math.min:(II)I
putstatic org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.QUEUE_INCREMENT:I
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.util.concurrent.atomic.AtomicReferenceArray, int);
descriptor: (Ljava/util/concurrent/atomic/AtomicReferenceArray;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
putfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.nextArray:Ljava/util/concurrent/atomic/AtomicReferenceArray;
3: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iload 2
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.queuePosition:Ljava/util/concurrent/atomic/AtomicInteger;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
0 5 1 nextArray Ljava/util/concurrent/atomic/AtomicReferenceArray;
0 5 2 oldSize I
MethodParameters:
Name Flags
nextArray
oldSize
public void incrementResizer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
public void decrementResizerAndNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
istore 1
start local 1 1: iload 1
ifne 8
2: aload 0
dup
astore 2
monitorenter
3: aload 0
invokevirtual java.lang.Object.notifyAll:()V
4: aload 2
monitorexit
5: goto 8
StackMap locals: org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer int org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
1 9 1 remaining I
Exception table:
from to target type
3 5 6 any
6 7 6 any
public int getQueuePosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.queuePosition:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
public int subtractAndGetQueuePosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.queuePosition:Ljava/util/concurrent/atomic/AtomicInteger;
getstatic org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.QUEUE_INCREMENT:I
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
public void waitForAllResizers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 14
1: iconst_0
istore 1
start local 1 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 5
4: goto 7
5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
bipush 16
if_icmplt 3
end local 1 7: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 8: goto 13
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifne 11
10: goto 14
11: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.yield:()V
12: iinc 1 1
StackMap locals:
StackMap stack:
13: iload 1
bipush 16
if_icmplt 9
end local 1 14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 25
15: aload 0
dup
astore 1
monitorenter
16: goto 20
17: StackMap locals: org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
18: goto 20
19: StackMap locals:
StackMap stack: java.lang.InterruptedException
pop
20: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifgt 17
21: aload 1
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 1
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
2 7 1 i I
8 14 1 i I
Exception table:
from to target type
17 18 19 Class java.lang.InterruptedException
16 22 23 any
23 24 23 any
public boolean isNotDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.resizers:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ifle 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/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
public void zeroOutQueuePosition();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer.queuePosition:Ljava/util/concurrent/atomic/AtomicInteger;
iconst_0
invokevirtual java.util.concurrent.atomic.AtomicInteger.set:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/ConcurrentHashMap$ResizeContainer;
}
SourceFile: "ConcurrentHashMap.java"
NestHost: org.eclipse.collections.impl.map.mutable.ConcurrentHashMap
InnerClasses:
private final ResizeContainer = org.eclipse.collections.impl.map.mutable.ConcurrentHashMap$ResizeContainer of org.eclipse.collections.impl.map.mutable.ConcurrentHashMap