public final class org.glassfish.grizzly.memory.BufferArray extends org.glassfish.grizzly.memory.AbstractBufferArray<org.glassfish.grizzly.Buffer>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.memory.BufferArray
super_class: org.glassfish.grizzly.memory.AbstractBufferArray
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.memory.BufferArray> 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/BufferArray;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/memory/BufferArray;
1: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/memory/BufferArray;
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 "ba-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.BufferArray.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
3: return
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.memory.BufferArray create();
descriptor: ()Lorg/glassfish/grizzly/memory/BufferArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.memory.BufferArray.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.BufferArray
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
areturn
3: StackMap locals: org.glassfish.grizzly.memory.BufferArray
StackMap stack:
new org.glassfish.grizzly.memory.BufferArray
dup
invokespecial org.glassfish.grizzly.memory.BufferArray.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 array Lorg/glassfish/grizzly/memory/BufferArray;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Lorg/glassfish/grizzly/Buffer;
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/BufferArray;
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.BufferArray.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/BufferArray;
protected void setPositionLimit(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;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:(Lorg/glassfish/grizzly/Buffer;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/BufferArray;
0 2 1 buffer Lorg/glassfish/grizzly/Buffer;
0 2 2 position I
0 2 3 limit I
MethodParameters:
Name Flags
buffer final
position final
limit final
protected int getPosition(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/BufferArray;
0 1 1 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
buffer final
protected int getLimit(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/BufferArray;
0 1 1 buffer Lorg/glassfish/grizzly/Buffer;
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 org.glassfish.grizzly.Buffer
invokevirtual org.glassfish.grizzly.memory.BufferArray.getPosition:(Lorg/glassfish/grizzly/Buffer;)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 org.glassfish.grizzly.Buffer
invokevirtual org.glassfish.grizzly.memory.BufferArray.getLimit:(Lorg/glassfish/grizzly/Buffer;)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 org.glassfish.grizzly.Buffer
iload 2
iload 3
invokevirtual org.glassfish.grizzly.memory.BufferArray.setPositionLimit:(Lorg/glassfish/grizzly/Buffer;II)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/memory/AbstractBufferArray<Lorg/glassfish/grizzly/Buffer;>;
SourceFile: "BufferArray.java"
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache