public final class org.glassfish.grizzly.memory.ByteBufferArray extends org.glassfish.grizzly.memory.AbstractBufferArray<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.memory.ByteBufferArray
super_class: org.glassfish.grizzly.memory.AbstractBufferArray
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.memory.ByteBufferArray> CACHE_IDX;
descriptor: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<Lorg/glassfish/grizzly/memory/ByteBufferArray;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/memory/ByteBufferArray;
1: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/memory/ByteBufferArray;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "bba-cache-size"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_4
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
2: invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
putstatic org.glassfish.grizzly.memory.ByteBufferArray.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
3: return
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.memory.ByteBufferArray create();
descriptor: ()Lorg/glassfish/grizzly/memory/ByteBufferArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.memory.ByteBufferArray.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
invokestatic org.glassfish.grizzly.ThreadCache.takeFromCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.memory.ByteBufferArray
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
areturn
3: StackMap locals: org.glassfish.grizzly.memory.ByteBufferArray
StackMap stack:
new org.glassfish.grizzly.memory.ByteBufferArray
dup
invokespecial org.glassfish.grizzly.memory.ByteBufferArray.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/nio/ByteBuffer;
invokespecial org.glassfish.grizzly.memory.AbstractBufferArray.<init>:(Ljava/lang/Class;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/ByteBufferArray;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.memory.AbstractBufferArray.recycle:()V
1: getstatic org.glassfish.grizzly.memory.ByteBufferArray.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
aload 0
invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/memory/ByteBufferArray;
protected void setPositionLimit(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/memory/ByteBufferArray;
0 2 1 buffer Ljava/nio/ByteBuffer;
0 2 2 position I
0 2 3 limit I
MethodParameters:
Name Flags
buffer final
position final
limit final
protected int getPosition(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/ByteBufferArray;
0 1 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
protected int getLimit(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/ByteBufferArray;
0 1 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
protected int getPosition(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getPosition:(Ljava/nio/ByteBuffer;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected int getLimit(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getLimit:(Ljava/nio/ByteBuffer;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void setPositionLimit(java.lang.Object, int, int);
descriptor: (Ljava/lang/Object;II)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
iload 2
iload 3
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/memory/AbstractBufferArray<Ljava/nio/ByteBuffer;>;
SourceFile: "ByteBufferArray.java"
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache