final class io.netty.util.Recycler$WeakOrderQueue$Head implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.util.Recycler$WeakOrderQueue$Head
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicInteger availableSharedCapacity;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
io.netty.util.Recycler$WeakOrderQueue$Link link;
descriptor: Lio/netty/util/Recycler$WeakOrderQueue$Link;
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/util/Recycler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.util.Recycler$WeakOrderQueue$Head.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.concurrent.atomic.AtomicInteger);
descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.netty.util.Recycler$WeakOrderQueue$Head.availableSharedCapacity:Ljava/util/concurrent/atomic/AtomicInteger;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/util/Recycler$WeakOrderQueue$Head;
0 3 1 availableSharedCapacity Ljava/util/concurrent/atomic/AtomicInteger;
MethodParameters:
Name Flags
availableSharedCapacity
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.util.Recycler$WeakOrderQueue$Head.link:Lio/netty/util/Recycler$WeakOrderQueue$Link;
astore 1
start local 1 1: goto 4
2: StackMap locals: io.netty.util.Recycler$WeakOrderQueue$Link
StackMap stack:
aload 0
getstatic io.netty.util.Recycler.LINK_CAPACITY:I
invokevirtual io.netty.util.Recycler$WeakOrderQueue$Head.reclaimSpace:(I)V
3: aload 1
getfield io.netty.util.Recycler$WeakOrderQueue$Link.next:Lio/netty/util/Recycler$WeakOrderQueue$Link;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/Recycler$WeakOrderQueue$Head;
1 6 1 head Lio/netty/util/Recycler$WeakOrderQueue$Link;
void reclaimSpace(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.netty.util.Recycler$WeakOrderQueue$Head.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.Recycler$WeakOrderQueue$Head.availableSharedCapacity:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/util/Recycler$WeakOrderQueue$Head;
0 3 1 space I
MethodParameters:
Name Flags
space
boolean reserveSpace(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.util.Recycler$WeakOrderQueue$Head.availableSharedCapacity:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
invokestatic io.netty.util.Recycler$WeakOrderQueue$Head.reserveSpace:(Ljava/util/concurrent/atomic/AtomicInteger;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/Recycler$WeakOrderQueue$Head;
0 1 1 space I
MethodParameters:
Name Flags
space
static boolean reserveSpace(java.util.concurrent.atomic.AtomicInteger, int);
descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.netty.util.Recycler$WeakOrderQueue$Head.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 2
start local 2 2: iload 2
iload 1
if_icmpge 4
3: iconst_0
ireturn
4: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 2
iload 1
isub
invokevirtual java.util.concurrent.atomic.AtomicInteger.compareAndSet:(II)Z
ifeq 1
5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 availableSharedCapacity Ljava/util/concurrent/atomic/AtomicInteger;
0 6 1 space I
2 6 2 available I
MethodParameters:
Name Flags
availableSharedCapacity
space
}
SourceFile: "Recycler.java"
NestHost: io.netty.util.Recycler
InnerClasses:
private final WeakOrderQueue = io.netty.util.Recycler$WeakOrderQueue of io.netty.util.Recycler
final Head = io.netty.util.Recycler$WeakOrderQueue$Head of io.netty.util.Recycler$WeakOrderQueue
final Link = io.netty.util.Recycler$WeakOrderQueue$Link of io.netty.util.Recycler$WeakOrderQueue