public class org.glassfish.grizzly.memory.Buffers
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.memory.Buffers
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.glassfish.grizzly.Appender<org.glassfish.grizzly.Buffer> APPENDER_DISPOSABLE;
descriptor: Lorg/glassfish/grizzly/Appender;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/Appender<Lorg/glassfish/grizzly/Buffer;>;
private static final org.glassfish.grizzly.Appender<org.glassfish.grizzly.Buffer> APPENDER_NOT_DISPOSABLE;
descriptor: Lorg/glassfish/grizzly/Appender;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/Appender<Lorg/glassfish/grizzly/Buffer;>;
public static final java.nio.ByteBuffer EMPTY_BYTE_BUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer[] EMPTY_BYTE_BUFFER_ARRAY;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.Buffer EMPTY_BUFFER;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/memory/Buffers;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.memory.Buffers.LOGGER:Ljava/util/logging/Logger;
1: new org.glassfish.grizzly.memory.Buffers$BuffersAppender
dup
iconst_1
invokespecial org.glassfish.grizzly.memory.Buffers$BuffersAppender.<init>:(Z)V
putstatic org.glassfish.grizzly.memory.Buffers.APPENDER_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
2: new org.glassfish.grizzly.memory.Buffers$BuffersAppender
dup
iconst_0
invokespecial org.glassfish.grizzly.memory.Buffers$BuffersAppender.<init>:(Z)V
putstatic org.glassfish.grizzly.memory.Buffers.APPENDER_NOT_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
3: iconst_0
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
4: iconst_0
anewarray java.nio.ByteBuffer
putstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BYTE_BUFFER_ARRAY:[Ljava/nio/ByteBuffer;
5: new org.glassfish.grizzly.memory.Buffers$1
dup
iconst_0
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
invokespecial org.glassfish.grizzly.memory.Buffers$1.<init>:(Ljava/nio/ByteBuffer;)V
putstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/memory/Buffers;
public static org.glassfish.grizzly.Appender<org.glassfish.grizzly.Buffer> getBufferAppender(boolean);
descriptor: (Z)Lorg/glassfish/grizzly/Appender;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic org.glassfish.grizzly.memory.Buffers.APPENDER_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.glassfish.grizzly.memory.Buffers.APPENDER_NOT_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
StackMap locals:
StackMap stack: org.glassfish.grizzly.Appender
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 isCompositeBufferDisposable Z
Signature: (Z)Lorg/glassfish/grizzly/Appender<Lorg/glassfish/grizzly/Buffer;>;
MethodParameters:
Name Flags
isCompositeBufferDisposable final
public static org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/lang/String;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/lang/String;Ljava/nio/charset/Charset;)Lorg/glassfish/grizzly/Buffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
memoryManager final
s final
public static org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager, java.lang.String, java.nio.charset.Charset);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/lang/String;Ljava/nio/charset/Charset;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 3
start local 3 1: aload 0
aload 3
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;[B)Lorg/glassfish/grizzly/Buffer;
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 4: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 5 1 s Ljava/lang/String;
0 5 2 charset Ljava/nio/charset/Charset;
1 3 3 byteRepresentation [B
4 5 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
0 2 3 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
memoryManager final
s final
charset final
public static org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager, byte[]);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;[B)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;[BII)Lorg/glassfish/grizzly/Buffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 array [B
MethodParameters:
Name Flags
memoryManager final
array final
public static org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager, byte[], int, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;[BII)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: invokestatic org.glassfish.grizzly.memory.Buffers.getDefaultMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.glassfish.grizzly.memory.WrapperAware
ifeq 4
3: aload 0
checkcast org.glassfish.grizzly.memory.WrapperAware
aload 1
iload 2
iload 3
invokeinterface org.glassfish.grizzly.memory.WrapperAware.wrap:([BII)Lorg/glassfish/grizzly/Buffer;
areturn
4: StackMap locals:
StackMap stack:
aload 0
iload 3
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 5: aload 4
aload 1
iload 2
iload 3
invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
6: aload 4
invokeinterface org.glassfish.grizzly.Buffer.flip:()Lorg/glassfish/grizzly/Buffer;
pop
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 8 1 array [B
0 8 2 offset I
0 8 3 length I
5 8 4 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
memoryManager
array final
offset final
length final
public static org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager, java.nio.ByteBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.glassfish.grizzly.memory.WrapperAware
ifeq 2
1: aload 0
checkcast org.glassfish.grizzly.memory.WrapperAware
aload 1
invokeinterface org.glassfish.grizzly.memory.WrapperAware.wrap:(Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/Buffer;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
3: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;[BII)Lorg/glassfish/grizzly/Buffer;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Can not wrap ByteBuffer"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 5 1 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
memoryManager final
byteBuffer final
public static java.nio.ByteBuffer slice(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
1: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 chunk Ljava/nio/ByteBuffer;
0 5 1 size I
2 5 2 view Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
chunk final
size final
public static java.nio.ByteBuffer slice(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 1: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 4
start local 4 2: aload 0
iload 1
iload 2
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
3: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 5
start local 5 4: aload 0
iload 3
iload 4
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
5: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 byteBuffer Ljava/nio/ByteBuffer;
0 6 1 position I
0 6 2 limit I
1 6 3 oldPos I
2 6 4 oldLimit I
4 6 5 slice Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
byteBuffer final
position final
limit final
public static java.lang.String toStringContent(java.nio.ByteBuffer, java.nio.charset.Charset, int, int);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 3: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 4: aload 0
iload 2
iload 3
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
5: aload 1
aload 0
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
astore 7
6: aload 0
iload 4
iload 5
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
7: aload 7
areturn
8: StackMap locals: java.nio.ByteBuffer java.nio.charset.Charset int int int int
StackMap stack: java.lang.Throwable
astore 6
9: aload 0
iload 4
iload 5
invokestatic org.glassfish.grizzly.memory.Buffers.setPositionLimit:(Ljava/nio/ByteBuffer;II)V
10: aload 6
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 byteBuffer Ljava/nio/ByteBuffer;
0 11 1 charset Ljava/nio/charset/Charset;
0 11 2 position I
0 11 3 limit I
3 11 4 oldPosition I
4 11 5 oldLimit I
Exception table:
from to target type
5 6 8 any
MethodParameters:
Name Flags
byteBuffer final
charset
position final
limit final
public static void setPositionLimit(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokeinterface org.glassfish.grizzly.Buffer.limit:(I)Lorg/glassfish/grizzly/Buffer;
pop
1: aload 0
iload 1
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Lorg/glassfish/grizzly/Buffer;
0 3 1 position I
0 3 2 limit I
MethodParameters:
Name Flags
buffer final
position final
limit final
public static void setPositionLimit(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
1: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
0 3 1 position I
0 3 2 limit I
MethodParameters:
Name Flags
buffer final
position final
limit final
public static void put(java.nio.ByteBuffer, int, int, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;IILjava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
if_icmpge 3
1: getstatic org.glassfish.grizzly.memory.Buffers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_BUFFERS_OVERFLOW_EXCEPTION:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 7
aload 3
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 7
4: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
aload 3
invokevirtual java.nio.ByteBuffer.array:()[B
aload 3
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iadd
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 3
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: goto 12
7: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 3
aload 0
iload 4
invokevirtual java.nio.ByteBuffer.get:(I)B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 1
iload 2
iadd
if_icmplt 9
end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 srcBuffer Ljava/nio/ByteBuffer;
0 13 1 srcOffset I
0 13 2 length I
0 13 3 dstBuffer Ljava/nio/ByteBuffer;
8 12 4 i I
MethodParameters:
Name Flags
srcBuffer final
srcOffset final
length final
dstBuffer final
public static void put(org.glassfish.grizzly.Buffer, int, int, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;IILorg/glassfish/grizzly/Buffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 2
if_icmpge 2
1: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 13
3: aload 0
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 4: aload 4
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 7
5: aload 3
aload 4
invokevirtual java.nio.ByteBuffer.array:()[B
aload 4
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
iload 2
invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
6: goto 32
7: StackMap locals: java.nio.ByteBuffer
StackMap stack:
iconst_0
istore 5
start local 5 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 3
aload 4
iload 1
iload 5
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmplt 9
end local 5 end local 4 12: goto 32
13: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 1
iload 2
iadd
invokeinterface org.glassfish.grizzly.Buffer.toByteBufferArray:(II)Lorg/glassfish/grizzly/memory/ByteBufferArray;
astore 4
start local 4 14: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getArray:()[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 5
start local 5 15: iconst_0
istore 6
start local 6 16: goto 29
17: StackMap locals: org.glassfish.grizzly.memory.ByteBufferArray java.nio.ByteBuffer[] int
StackMap stack:
aload 5
iload 6
aaload
astore 7
start local 7 18: aload 7
invokevirtual java.nio.ByteBuffer.position:()I
istore 8
start local 8 19: aload 7
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 9
start local 9 20: aload 7
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 23
21: aload 3
aload 7
invokevirtual java.nio.ByteBuffer.array:()[B
aload 7
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 8
iadd
iload 9
invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
22: goto 28
23: StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
iconst_0
istore 10
start local 10 24: goto 27
25: StackMap locals: int
StackMap stack:
aload 3
aload 7
iload 8
iload 10
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
26: iinc 10 1
StackMap locals:
StackMap stack:
27: iload 10
iload 9
if_icmplt 25
end local 10 end local 9 end local 8 end local 7 28: StackMap locals: org.glassfish.grizzly.Buffer int int org.glassfish.grizzly.Buffer org.glassfish.grizzly.memory.ByteBufferArray java.nio.ByteBuffer[] int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
29: iload 6
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.size:()I
if_icmplt 17
end local 6 30: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
31: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 5 end local 4 32: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 src Lorg/glassfish/grizzly/Buffer;
0 33 1 position I
0 33 2 length I
0 33 3 dstBuffer Lorg/glassfish/grizzly/Buffer;
4 12 4 srcByteBuffer Ljava/nio/ByteBuffer;
8 12 5 i I
14 32 4 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
15 32 5 srcByteBuffers [Ljava/nio/ByteBuffer;
16 30 6 i I
18 28 7 srcByteBuffer Ljava/nio/ByteBuffer;
19 28 8 initialPosition I
20 28 9 srcByteBufferLen I
24 28 10 j I
MethodParameters:
Name Flags
src final
position final
length final
dstBuffer final
public static void get(java.nio.ByteBuffer, byte[], int, int);
descriptor: (Ljava/nio/ByteBuffer;[BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 6
1: iload 3
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 3
2: new java.nio.BufferUnderflowException
dup
invokespecial java.nio.BufferUnderflowException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 srcBuffer Ljava/nio/ByteBuffer;
0 8 1 dstBytes [B
0 8 2 dstOffset I
0 8 3 length I
MethodParameters:
Name Flags
srcBuffer final
dstBytes final
dstOffset final
length final
public static void put(byte[], int, int, java.nio.ByteBuffer);
descriptor: ([BIILjava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 6
1: iload 2
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 3
2: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
invokevirtual java.nio.ByteBuffer.array:()[B
aload 3
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iadd
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 3
aload 0
iload 1
iload 2
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 srcBytes [B
0 8 1 srcOffset I
0 8 2 length I
0 8 3 dstBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
srcBytes final
srcOffset final
length final
dstBuffer final
public static org.glassfish.grizzly.Buffer appendBuffers(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;Z)Lorg/glassfish/grizzly/Buffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 buffer1 Lorg/glassfish/grizzly/Buffer;
0 1 2 buffer2 Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
memoryManager final
buffer1 final
buffer2 final
public static org.glassfish.grizzly.Buffer appendBuffers(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.Buffer, boolean);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;Z)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.order:()Ljava/nio/ByteOrder;
aload 2
invokeinterface org.glassfish.grizzly.Buffer.order:()Ljava/nio/ByteOrder;
if_acmpeq 7
5: getstatic org.glassfish.grizzly.memory.Buffers.LOGGER:Ljava/util/logging/Logger;
ldc "Appending buffers with different ByteOrder.The result Buffer's order will be the same as the first Buffer's ByteOrder"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
6: aload 2
aload 1
invokeinterface org.glassfish.grizzly.Buffer.order:()Ljava/nio/ByteOrder;
invokeinterface org.glassfish.grizzly.Buffer.order:(Ljava/nio/ByteOrder;)Lorg/glassfish/grizzly/Buffer;
pop
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifeq 10
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
if_icmpne 10
8: aload 1
checkcast org.glassfish.grizzly.memory.CompositeBuffer
aload 2
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
9: aload 1
areturn
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifeq 13
aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
ifne 13
11: aload 2
checkcast org.glassfish.grizzly.memory.CompositeBuffer
aload 1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.prepend:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
12: aload 2
areturn
13: StackMap locals:
StackMap stack:
aload 0
invokestatic org.glassfish.grizzly.memory.CompositeBuffer.newBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
astore 4
start local 4 14: aload 4
aload 1
invokeinterface org.glassfish.grizzly.Buffer.order:()Ljava/nio/ByteOrder;
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.order:(Ljava/nio/ByteOrder;)Lorg/glassfish/grizzly/Buffer;
pop
15: aload 4
aload 1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
16: aload 4
aload 2
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
17: aload 4
iload 3
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowBufferDispose:(Z)V
18: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 19 1 buffer1 Lorg/glassfish/grizzly/Buffer;
0 19 2 buffer2 Lorg/glassfish/grizzly/Buffer;
0 19 3 isCompositeBufferDisposable Z
14 19 4 compositeBuffer Lorg/glassfish/grizzly/memory/CompositeBuffer;
MethodParameters:
Name Flags
memoryManager final
buffer1 final
buffer2 final
isCompositeBufferDisposable final
public static void fill(org.glassfish.grizzly.Buffer, byte);
descriptor: (Lorg/glassfish/grizzly/Buffer;B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 0
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 1
invokestatic org.glassfish.grizzly.memory.Buffers.fill:(Lorg/glassfish/grizzly/Buffer;IIB)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Lorg/glassfish/grizzly/Buffer;
0 2 1 b B
MethodParameters:
Name Flags
buffer final
b final
public static void fill(org.glassfish.grizzly.Buffer, int, int, byte);
descriptor: (Lorg/glassfish/grizzly/Buffer;IIB)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 4
1: aload 0
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
iload 1
iload 2
iload 3
invokestatic org.glassfish.grizzly.memory.Buffers.fill:(Ljava/nio/ByteBuffer;IIB)V
end local 4 3: goto 15
4: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokeinterface org.glassfish.grizzly.Buffer.toByteBufferArray:(II)Lorg/glassfish/grizzly/memory/ByteBufferArray;
astore 4
start local 4 5: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getArray:()[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 5
start local 5 6: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.size:()I
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 12
9: StackMap locals: org.glassfish.grizzly.Buffer int int int org.glassfish.grizzly.memory.ByteBufferArray java.nio.ByteBuffer[] int int
StackMap stack:
aload 5
iload 7
aaload
astore 8
start local 8 10: aload 8
iload 3
invokestatic org.glassfish.grizzly.memory.Buffers.fill:(Ljava/nio/ByteBuffer;B)V
end local 8 11: iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
iload 6
if_icmplt 9
end local 7 13: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
14: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 6 end local 5 end local 4 15: StackMap locals: org.glassfish.grizzly.Buffer int int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 buffer Lorg/glassfish/grizzly/Buffer;
0 16 1 position I
0 16 2 limit I
0 16 3 b B
2 3 4 byteBuffer Ljava/nio/ByteBuffer;
5 15 4 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
6 15 5 byteBuffers [Ljava/nio/ByteBuffer;
7 15 6 size I
8 13 7 i I
10 11 8 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
position final
limit final
b final
public static void fill(java.nio.ByteBuffer, byte);
descriptor: (Ljava/nio/ByteBuffer;B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
iload 1
invokestatic org.glassfish.grizzly.memory.Buffers.fill:(Ljava/nio/ByteBuffer;IIB)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 byteBuffer Ljava/nio/ByteBuffer;
0 2 1 b B
MethodParameters:
Name Flags
byteBuffer final
b final
public static void fill(java.nio.ByteBuffer, int, int, byte);
descriptor: (Ljava/nio/ByteBuffer;IIB)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
1: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
istore 4
start local 4 2: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
iload 4
iload 1
iadd
iload 4
iload 2
iadd
iload 3
invokestatic java.util.Arrays.fill:([BIIB)V
end local 4 3: goto 9
4: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
iload 4
iload 3
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 6
end local 4 9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 byteBuffer Ljava/nio/ByteBuffer;
0 10 1 position I
0 10 2 limit I
0 10 3 b B
2 3 4 arrayOffset I
5 9 4 i I
MethodParameters:
Name Flags
byteBuffer final
position final
limit final
b final
public static org.glassfish.grizzly.Buffer cloneBuffer(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 0
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
invokestatic org.glassfish.grizzly.memory.Buffers.cloneBuffer:(Lorg/glassfish/grizzly/Buffer;II)Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 srcBuffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
srcBuffer final
public static org.glassfish.grizzly.Buffer cloneBuffer(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: iload 3
ifne 3
2: invokestatic org.glassfish.grizzly.memory.Buffers.getDefaultMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/nio/ByteBuffer;)Lorg/glassfish/grizzly/Buffer;
areturn
3: StackMap locals: int
StackMap stack:
invokestatic org.glassfish.grizzly.memory.Buffers.getDefaultMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
iload 3
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 4: aload 4
aload 0
iload 1
iload 3
invokeinterface org.glassfish.grizzly.Buffer.put:(Lorg/glassfish/grizzly/Buffer;II)Lorg/glassfish/grizzly/Buffer;
pop
5: aload 4
aload 0
invokeinterface org.glassfish.grizzly.Buffer.order:()Ljava/nio/ByteOrder;
invokeinterface org.glassfish.grizzly.Buffer.order:(Ljava/nio/ByteOrder;)Lorg/glassfish/grizzly/Buffer;
pop
6: aload 4
invokeinterface org.glassfish.grizzly.Buffer.flip:()Lorg/glassfish/grizzly/Buffer;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 srcBuffer Lorg/glassfish/grizzly/Buffer;
0 7 1 position I
0 7 2 limit I
1 7 3 srcLength I
4 7 4 clone Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
srcBuffer final
position final
limit final
public static long readFromFileChannel(java.nio.channels.FileChannel, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/nio/channels/FileChannel;Lorg/glassfish/grizzly/Buffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 6
1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 3: aload 0
aload 4
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
i2l
lstore 2
start local 2 4: aload 4
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 5 end local 4 5: goto 10
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.toByteBufferArray:()Lorg/glassfish/grizzly/memory/ByteBufferArray;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getArray:()[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
iconst_0
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.size:()I
invokevirtual java.nio.channels.FileChannel.read:([Ljava/nio/ByteBuffer;II)J
lstore 2
start local 2 8: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
9: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 4 10: StackMap locals: long
StackMap stack:
lload 2
lconst_0
lcmp
ifle 12
11: aload 1
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
lload 2
l2i
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
12: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fileChannel Ljava/nio/channels/FileChannel;
0 13 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 bytesRead J
8 13 2 bytesRead J
2 5 4 bb Ljava/nio/ByteBuffer;
3 5 5 oldPos I
7 10 4 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileChannel final
buffer final
public static long writeToFileChannel(java.nio.channels.FileChannel, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/nio/channels/FileChannel;Lorg/glassfish/grizzly/Buffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 6
1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 3: aload 0
aload 4
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
i2l
lstore 2
start local 2 4: aload 4
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 5 end local 4 5: goto 10
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.toByteBufferArray:()Lorg/glassfish/grizzly/memory/ByteBufferArray;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getArray:()[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
iconst_0
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.size:()I
invokevirtual java.nio.channels.FileChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 2
start local 2 8: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
9: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 4 10: StackMap locals: long
StackMap stack:
lload 2
lconst_0
lcmp
ifle 12
11: aload 1
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
lload 2
l2i
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
12: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fileChannel Ljava/nio/channels/FileChannel;
0 13 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 bytesWritten J
8 13 2 bytesWritten J
2 5 4 bb Ljava/nio/ByteBuffer;
3 5 5 oldPos I
7 10 4 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileChannel final
buffer final
public java.lang.String toStringContent(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokevirtual org.glassfish.grizzly.memory.Buffers.toStringContent:(Lorg/glassfish/grizzly/Buffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/memory/Buffers;
0 3 1 buffer Lorg/glassfish/grizzly/Buffer;
0 3 2 headBytesCount I
0 3 3 tailBytesCount I
MethodParameters:
Name Flags
buffer final
headBytesCount final
tailBytesCount final
public java.lang.String toStringContent(org.glassfish.grizzly.Buffer, int, int, java.nio.charset.Charset);
descriptor: (Lorg/glassfish/grizzly/Buffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
ifge 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "count can't be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 5
start local 5 5: new java.lang.StringBuilder
dup
aload 5
invokevirtual java.lang.String.length:()I
iload 2
iadd
iload 3
iadd
iconst_5
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
start local 6 6: aload 6
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 2
iload 3
iadd
if_icmpgt 10
8: aload 6
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
aload 4
invokeinterface org.glassfish.grizzly.Buffer.toStringContent:(Ljava/nio/charset/Charset;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: goto 17
10: StackMap locals: java.lang.String java.lang.StringBuilder
StackMap stack:
aload 6
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: iload 2
ifle 13
12: aload 6
aload 1
aload 4
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 2
iadd
invokeinterface org.glassfish.grizzly.Buffer.toStringContent:(Ljava/nio/charset/Charset;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 6
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: iload 3
ifle 16
15: aload 6
aload 1
aload 4
aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 3
isub
aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
invokeinterface org.glassfish.grizzly.Buffer.toStringContent:(Ljava/nio/charset/Charset;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 6
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/grizzly/memory/Buffers;
0 18 1 buffer Lorg/glassfish/grizzly/Buffer;
0 18 2 headBytesCount I
0 18 3 tailBytesCount I
0 18 4 charset Ljava/nio/charset/Charset;
5 18 5 toString Ljava/lang/String;
6 18 6 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buffer final
headBytesCount final
tailBytesCount final
charset final
public static void dumpBuffer(java.lang.Appendable, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/lang/Appendable;Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.util.Formatter
dup
aload 0
invokespecial java.util.Formatter.<init>:(Ljava/lang/Appendable;)V
astore 2
start local 2 1: aload 2
aload 0
aload 1
invokestatic org.glassfish.grizzly.memory.Buffers.dumpBuffer0:(Ljava/util/Formatter;Ljava/lang/Appendable;Lorg/glassfish/grizzly/Buffer;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 appendable Ljava/lang/Appendable;
0 3 1 buffer Lorg/glassfish/grizzly/Buffer;
1 3 2 formatter Ljava/util/Formatter;
MethodParameters:
Name Flags
appendable final
buffer final
private static void dumpBuffer0(java.util.Formatter, java.lang.Appendable, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/util/Formatter;Ljava/lang/Appendable;Lorg/glassfish/grizzly/Buffer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifeq 12
1: aload 2
invokeinterface org.glassfish.grizzly.Buffer.toBufferArray:()Lorg/glassfish/grizzly/memory/BufferArray;
astore 3
start local 3 2: aload 3
invokevirtual org.glassfish.grizzly.memory.BufferArray.size:()I
istore 4
start local 4 3: aload 3
invokevirtual org.glassfish.grizzly.memory.BufferArray.getArray:()[Ljava/lang/Object;
checkcast org.glassfish.grizzly.Buffer[]
astore 5
start local 5 4: aload 0
ldc "%s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
5: iconst_0
istore 6
start local 6 6: goto 9
7: StackMap locals: java.util.Formatter java.lang.Appendable org.glassfish.grizzly.Buffer org.glassfish.grizzly.memory.BufferArray int org.glassfish.grizzly.Buffer[] int
StackMap stack:
aload 0
aload 1
aload 5
iload 6
aaload
invokestatic org.glassfish.grizzly.memory.Buffers.dumpBuffer0:(Ljava/util/Formatter;Ljava/lang/Appendable;Lorg/glassfish/grizzly/Buffer;)V
8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 4
if_icmplt 7
end local 6 10: aload 0
ldc "End CompositeBuffer (%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 5 end local 4 end local 3 11: goto 13
12: StackMap locals: java.util.Formatter java.lang.Appendable org.glassfish.grizzly.Buffer
StackMap stack:
aload 0
aload 2
invokestatic org.glassfish.grizzly.memory.Buffers.dumpBuffer0:(Ljava/util/Formatter;Lorg/glassfish/grizzly/Buffer;)V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 formatter Ljava/util/Formatter;
0 14 1 appendable Ljava/lang/Appendable;
0 14 2 buffer Lorg/glassfish/grizzly/Buffer;
2 11 3 bufferArray Lorg/glassfish/grizzly/memory/BufferArray;
3 11 4 size I
4 11 5 buffers [Lorg/glassfish/grizzly/Buffer;
6 10 6 i I
MethodParameters:
Name Flags
formatter final
appendable final
buffer final
private static void dumpBuffer0(java.util.Formatter, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/util/Formatter;Lorg/glassfish/grizzly/Buffer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=21, args_size=2
start local 0 start local 1 0: aload 0
ldc "%s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 16
idiv
istore 4
start local 4 4: goto 26
5: StackMap locals: int int int
StackMap stack:
aload 1
iload 2
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 5
start local 5 6: aload 1
iload 2
iconst_1
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 6
start local 6 7: aload 1
iload 2
iconst_2
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 7
start local 7 8: aload 1
iload 2
iconst_3
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 8
start local 8 9: aload 1
iload 2
iconst_4
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 9
start local 9 10: aload 1
iload 2
iconst_5
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 10
start local 10 11: aload 1
iload 2
bipush 6
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 11
start local 11 12: aload 1
iload 2
bipush 7
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 12
start local 12 13: aload 1
iload 2
bipush 8
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 13
start local 13 14: aload 1
iload 2
bipush 9
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 14
start local 14 15: aload 1
iload 2
bipush 10
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 15
start local 15 16: aload 1
iload 2
bipush 11
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 16
start local 16 17: aload 1
iload 2
bipush 12
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 17
start local 17 18: aload 1
iload 2
bipush 13
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 18
start local 18 19: aload 1
iload 2
bipush 14
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 19
start local 19 20: aload 1
iload 2
bipush 15
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 20
start local 20 21: aload 0
getstatic org.glassfish.grizzly.memory.Buffers$DumpStrings.DUMP_STRINGS:[Ljava/lang/String;
bipush 15
aaload
bipush 33
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_2
iload 6
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_3
iload 7
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_4
iload 8
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
iconst_5
iload 9
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 6
iload 10
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 7
iload 11
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 8
iload 12
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 9
iload 13
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 10
iload 14
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 11
iload 15
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 12
iload 16
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 13
iload 17
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 14
iload 18
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 15
iload 19
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 16
iload 20
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
aastore
dup
bipush 17
iload 5
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 18
iload 6
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 19
22: iload 7
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 20
iload 8
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 21
iload 9
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 22
iload 10
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 23
iload 11
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 24
iload 12
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 25
iload 13
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 26
iload 14
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 27
iload 15
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 28
iload 16
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 29
23: iload 17
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 30
iload 18
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 31
iload 19
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
dup
bipush 32
iload 20
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
24: invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 25: iinc 3 1
iinc 2 16
StackMap locals:
StackMap stack:
26: iload 3
iload 4
if_icmplt 5
end local 4 end local 3 27: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 16
irem
istore 3
start local 3 28: iload 3
ifle 40
29: iload 3
iconst_1
ishl
iconst_1
iadd
anewarray java.lang.Object
astore 4
start local 4 30: aload 4
iconst_0
iload 3
iload 2
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
31: iconst_0
istore 5
start local 5 32: iconst_1
istore 6
start local 6 33: goto 38
34: StackMap locals: java.util.Formatter org.glassfish.grizzly.Buffer int int java.lang.Object[] int int
StackMap stack:
aload 1
iload 2
iload 5
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 7
start local 7 35: aload 4
iload 6
iload 7
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
36: aload 4
iload 6
iload 3
iadd
iload 7
invokestatic org.glassfish.grizzly.memory.Buffers.getChar:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aastore
end local 7 37: iinc 5 1
iinc 6 1
StackMap locals:
StackMap stack:
38: iload 5
iload 3
if_icmplt 34
end local 6 end local 5 39: aload 0
getstatic org.glassfish.grizzly.memory.Buffers$DumpStrings.DUMP_STRINGS:[Ljava/lang/String;
iload 3
iconst_1
isub
aaload
aload 4
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 4 40: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 formatter Ljava/util/Formatter;
0 41 1 buffer Lorg/glassfish/grizzly/Buffer;
2 41 2 line I
3 27 3 i I
4 27 4 len I
6 25 5 b0 B
7 25 6 b1 B
8 25 7 b2 B
9 25 8 b3 B
10 25 9 b4 B
11 25 10 b5 B
12 25 11 b6 B
13 25 12 b7 B
14 25 13 b8 B
15 25 14 b9 B
16 25 15 b10 B
17 25 16 b11 B
18 25 17 b12 B
19 25 18 b13 B
20 25 19 b14 B
21 25 20 b15 B
28 41 3 remaining I
30 40 4 args [Ljava/lang/Object;
32 39 5 i I
33 39 6 aIdx I
35 37 7 b I
MethodParameters:
Name Flags
formatter final
buffer final
private static char getChar(int);
descriptor: (I)C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iload 0
i2c
istore 1
start local 1 1: iload 1
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 2
iload 1
invokestatic java.lang.Character.isISOControl:(C)Z
ifeq 3
StackMap locals: int
StackMap stack:
2: bipush 46
goto 4
StackMap locals:
StackMap stack:
3: iload 1
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 val I
1 5 1 c C
MethodParameters:
Name Flags
val final
private static org.glassfish.grizzly.memory.MemoryManager getDefaultMemoryManager();
descriptor: ()Lorg/glassfish/grizzly/memory/MemoryManager;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.memory.MemoryManager.DEFAULT_MEMORY_MANAGER:Lorg/glassfish/grizzly/memory/MemoryManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Buffers.java"
NestMembers:
org.glassfish.grizzly.memory.Buffers$1 org.glassfish.grizzly.memory.Buffers$BuffersAppender org.glassfish.grizzly.memory.Buffers$DumpStrings
InnerClasses:
org.glassfish.grizzly.memory.Buffers$1
private BuffersAppender = org.glassfish.grizzly.memory.Buffers$BuffersAppender of org.glassfish.grizzly.memory.Buffers
private final DumpStrings = org.glassfish.grizzly.memory.Buffers$DumpStrings of org.glassfish.grizzly.memory.Buffers