final class org.xnio.ByteBufferPool$MultiCache implements org.xnio.ByteBufferPool$Cache
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.xnio.ByteBufferPool$MultiCache
super_class: java.lang.Object
{
private final org.xnio.ByteBufferPool$Cache parent;
descriptor: Lorg/xnio/ByteBufferPool$Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer[] cache;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long mask;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long availableBits;
descriptor: J
flags: (0x0002) ACC_PRIVATE
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 Lorg/xnio/ByteBufferPool;
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 org.xnio.ByteBufferPool$MultiCache.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.xnio.ByteBufferPool$Cache, int);
descriptor: (Lorg/xnio/ByteBufferPool$Cache;I)V
flags: (0x0000)
Code:
stack=6, 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
aload 1
putfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
2: getstatic org.xnio.ByteBufferPool$MultiCache.$assertionsDisabled:Z
ifne 4
iload 2
ifle 3
iload 2
bipush 64
if_icmple 4
StackMap locals: org.xnio.ByteBufferPool$MultiCache org.xnio.ByteBufferPool$Cache int
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 2
anewarray java.nio.ByteBuffer
putfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
5: aload 0
aload 0
iload 2
bipush 64
if_icmpne 6
ldc -1
goto 7
StackMap locals: org.xnio.ByteBufferPool$MultiCache org.xnio.ByteBufferPool$Cache int
StackMap stack: org.xnio.ByteBufferPool$MultiCache org.xnio.ByteBufferPool$MultiCache
6: lconst_1
iload 2
lshl
lconst_1
lsub
StackMap locals: org.xnio.ByteBufferPool$MultiCache org.xnio.ByteBufferPool$Cache int
StackMap stack: org.xnio.ByteBufferPool$MultiCache org.xnio.ByteBufferPool$MultiCache long
7: dup2_x1
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
putfield org.xnio.ByteBufferPool$MultiCache.mask:J
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/xnio/ByteBufferPool$MultiCache;
0 9 1 parent Lorg/xnio/ByteBufferPool$Cache;
0 9 2 size I
MethodParameters:
Name Flags
parent final
size final
public void free(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
ldc -1
lxor
aload 0
getfield org.xnio.ByteBufferPool$MultiCache.mask:J
land
invokestatic java.lang.Long.lowestOneBit:(J)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifeq 6
2: lload 2
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 4
start local 4 3: aload 0
dup
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
lload 2
lor
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
4: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
iload 4
aload 1
aastore
end local 4 5: goto 7
6: StackMap locals: long
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/ByteBufferPool$MultiCache;
0 8 1 bb Ljava/nio/ByteBuffer;
1 8 2 posn J
3 5 4 bit I
MethodParameters:
Name Flags
bb final
public void flushBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
aload 1
invokeinterface org.xnio.ByteBufferPool$Cache.flushBuffer:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/xnio/ByteBufferPool$MultiCache;
0 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb final
public java.nio.ByteBuffer allocate();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
invokestatic java.lang.Long.lowestOneBit:(J)J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifeq 10
2: lload 1
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 3
start local 3 3: aload 0
dup
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
lload 1
ldc -1
lxor
land
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
4: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
iload 3
aaload
astore 5
5: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
iload 3
aconst_null
aastore
6: aload 5
areturn
7: StackMap locals: org.xnio.ByteBufferPool$MultiCache long int
StackMap stack: java.lang.Throwable
astore 4
8: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
iload 3
aconst_null
aastore
9: aload 4
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
invokeinterface org.xnio.ByteBufferPool$Cache.allocate:()Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/xnio/ByteBufferPool$MultiCache;
1 11 1 posn J
3 10 3 bit I
Exception table:
from to target type
4 5 7 any
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
astore 2
start local 2 2: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
ldc -1
lxor
aload 0
getfield org.xnio.ByteBufferPool$MultiCache.mask:J
land
lstore 3
start local 3 3: goto 9
4: StackMap locals: java.nio.ByteBuffer[] org.xnio.ByteBufferPool$Cache long
StackMap stack:
lload 3
invokestatic java.lang.Long.lowestOneBit:(J)J
lstore 5
start local 5 5: lload 5
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 7
start local 7 6: aload 2
aload 1
iload 7
aaload
invokeinterface org.xnio.ByteBufferPool$Cache.free:(Ljava/nio/ByteBuffer;)V
7: lload 3
lload 5
ldc -1
lxor
land
lstore 3
8: aload 1
iload 7
aconst_null
aastore
end local 7 end local 5 9: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifne 4
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 8
12: aload 0
lload 3
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
13: aload 8
athrow
14: StackMap locals:
StackMap stack:
aload 0
lload 3
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/xnio/ByteBufferPool$MultiCache;
1 16 1 cache [Ljava/nio/ByteBuffer;
2 16 2 parent Lorg/xnio/ByteBufferPool$Cache;
3 16 3 bits J
5 9 5 posn J
6 9 7 bit I
Exception table:
from to target type
3 11 11 any
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.cache:[Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.parent:Lorg/xnio/ByteBufferPool$Cache;
astore 2
start local 2 2: aload 0
getfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
ldc -1
lxor
aload 0
getfield org.xnio.ByteBufferPool$MultiCache.mask:J
land
lstore 3
start local 3 3: goto 9
4: StackMap locals: java.nio.ByteBuffer[] org.xnio.ByteBufferPool$Cache long
StackMap stack:
lload 3
invokestatic java.lang.Long.lowestOneBit:(J)J
lstore 5
start local 5 5: lload 5
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 7
start local 7 6: aload 0
aload 1
iload 7
aaload
invokevirtual org.xnio.ByteBufferPool$MultiCache.flushBuffer:(Ljava/nio/ByteBuffer;)V
7: lload 3
lload 5
ldc -1
lxor
land
lstore 3
8: aload 1
iload 7
aconst_null
aastore
end local 7 end local 5 9: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifne 4
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 8
12: aload 0
lload 3
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
13: aload 8
athrow
14: StackMap locals:
StackMap stack:
aload 0
lload 3
putfield org.xnio.ByteBufferPool$MultiCache.availableBits:J
15: aload 2
invokeinterface org.xnio.ByteBufferPool$Cache.flush:()V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/xnio/ByteBufferPool$MultiCache;
1 17 1 cache [Ljava/nio/ByteBuffer;
2 17 2 parent Lorg/xnio/ByteBufferPool$Cache;
3 17 3 bits J
5 9 5 posn J
6 9 7 bit I
Exception table:
from to target type
3 11 11 any
}
SourceFile: "ByteBufferPool.java"
NestHost: org.xnio.ByteBufferPool
InnerClasses:
abstract Cache = org.xnio.ByteBufferPool$Cache of org.xnio.ByteBufferPool
final MultiCache = org.xnio.ByteBufferPool$MultiCache of org.xnio.ByteBufferPool