class org.xnio.ByteBufferSlicePool$1 extends java.lang.ThreadLocal<org.xnio.ByteBufferSlicePool$ThreadLocalCache>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.ByteBufferSlicePool$1
super_class: java.lang.ThreadLocal
{
final org.xnio.ByteBufferSlicePool this$0;
descriptor: Lorg/xnio/ByteBufferSlicePool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.xnio.ByteBufferSlicePool);
descriptor: (Lorg/xnio/ByteBufferSlicePool;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.xnio.ByteBufferSlicePool$1.this$0:Lorg/xnio/ByteBufferSlicePool;
aload 0
invokespecial java.lang.ThreadLocal.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ByteBufferSlicePool$1;
MethodParameters:
Name Flags
this$0 final
protected org.xnio.ByteBufferSlicePool$ThreadLocalCache initialValue();
descriptor: ()Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.xnio.ByteBufferSlicePool$ThreadLocalCache
dup
aload 0
getfield org.xnio.ByteBufferSlicePool$1.this$0:Lorg/xnio/ByteBufferSlicePool;
invokespecial org.xnio.ByteBufferSlicePool$ThreadLocalCache.<init>:(Lorg/xnio/ByteBufferSlicePool;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ByteBufferSlicePool$1;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$1.get:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool$ThreadLocalCache
getfield org.xnio.ByteBufferSlicePool$ThreadLocalCache.queue:Ljava/util/ArrayDeque;
astore 1
start local 1 1: aload 1
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool$Slice
astore 2
start local 2 2: goto 5
3: StackMap locals: java.util.ArrayDeque org.xnio.ByteBufferSlicePool$Slice
StackMap stack:
aload 0
getfield org.xnio.ByteBufferSlicePool$1.this$0:Lorg/xnio/ByteBufferSlicePool;
aload 2
invokevirtual org.xnio.ByteBufferSlicePool.doFree:(Lorg/xnio/ByteBufferSlicePool$Slice;)V
4: aload 1
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast org.xnio.ByteBufferSlicePool$Slice
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
6: aload 0
invokespecial java.lang.ThreadLocal.remove:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/ByteBufferSlicePool$1;
1 8 1 deque Ljava/util/ArrayDeque<Lorg/xnio/ByteBufferSlicePool$Slice;>;
2 8 2 slice Lorg/xnio/ByteBufferSlicePool$Slice;
protected java.lang.Object initialValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.xnio.ByteBufferSlicePool$1.initialValue:()Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/ThreadLocal<Lorg/xnio/ByteBufferSlicePool$ThreadLocalCache;>;
SourceFile: "ByteBufferSlicePool.java"
EnclosingMethod: org.xnio.ByteBufferSlicePool
NestHost: org.xnio.ByteBufferSlicePool
InnerClasses:
org.xnio.ByteBufferSlicePool$1
private final Slice = org.xnio.ByteBufferSlicePool$Slice of org.xnio.ByteBufferSlicePool
private final ThreadLocalCache = org.xnio.ByteBufferSlicePool$ThreadLocalCache of org.xnio.ByteBufferSlicePool