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 2
1: getstatic org.glassfish.grizzly.memory.Buffers.APPENDER_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
goto 3
StackMap locals:
StackMap stack:
2: getstatic org.glassfish.grizzly.memory.Buffers.APPENDER_NOT_DISPOSABLE:Lorg/glassfish/grizzly/Appender;
3: StackMap locals:
StackMap stack: org.glassfish.grizzly.Appender
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 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 7
3: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
4: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
5: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
6: invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;[BII)Lorg/glassfish/grizzly/Buffer;
areturn
7: 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 8 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 8 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 6
1: getstatic org.glassfish.grizzly.memory.Buffers.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
2: 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
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;
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 15
aload 3
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 15
7: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
8: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
9: aload 3
invokevirtual java.nio.ByteBuffer.array:()[B
10: aload 3
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iadd
11: iload 2
12: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 3
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
14: goto 20
15: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 16: goto 19
17: 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
18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
iload 1
iload 2
iadd
if_icmplt 17
end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 srcBuffer Ljava/nio/ByteBuffer;
0 21 1 srcOffset I
0 21 2 length I
0 21 3 dstBuffer Ljava/nio/ByteBuffer;
16 20 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 15
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 9
5: aload 3
aload 4
invokevirtual java.nio.ByteBuffer.array:()[B
6: aload 4
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
iload 2
7: invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
8: goto 39
9: StackMap locals: java.nio.ByteBuffer
StackMap stack:
iconst_0
istore 5
start local 5 10: goto 13
11: 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
12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 2
if_icmplt 11
end local 5 end local 4 14: goto 39
15: StackMap locals:
StackMap stack:
aload 0
iload 1
16: iload 1
iload 2
iadd
17: invokeinterface org.glassfish.grizzly.Buffer.toByteBufferArray:(II)Lorg/glassfish/grizzly/memory/ByteBufferArray;
astore 4
start local 4 18: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.getArray:()[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 5
start local 5 19: iconst_0
istore 6
start local 6 20: goto 36
21: StackMap locals: org.glassfish.grizzly.memory.ByteBufferArray java.nio.ByteBuffer[] int
StackMap stack:
aload 5
iload 6
aaload
astore 7
start local 7 22: aload 7
invokevirtual java.nio.ByteBuffer.position:()I
istore 8
start local 8 23: aload 7
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 9
start local 9 24: aload 7
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 30
25: aload 3
aload 7
invokevirtual java.nio.ByteBuffer.array:()[B
26: aload 7
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 8
iadd
27: iload 9
28: invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
29: goto 35
30: StackMap locals: java.nio.ByteBuffer int int
StackMap stack:
iconst_0
istore 10
start local 10 31: goto 34
32: 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
33: iinc 6 1
StackMap locals:
StackMap stack:
34: iload 10
iload 9
if_icmplt 32
end local 10 end local 9 end local 8 end local 7 35: 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:
36: iload 6
aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.size:()I
if_icmplt 21
end local 6 37: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
38: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 5 end local 4 39: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 src Lorg/glassfish/grizzly/Buffer;
0 40 1 position I
0 40 2 length I
0 40 3 dstBuffer Lorg/glassfish/grizzly/Buffer;
4 14 4 srcByteBuffer Ljava/nio/ByteBuffer;
10 14 5 i I
18 39 4 array Lorg/glassfish/grizzly/memory/ByteBufferArray;
19 39 5 srcByteBuffers [Ljava/nio/ByteBuffer;
20 37 6 i I
22 35 7 srcByteBuffer Ljava/nio/ByteBuffer;
23 35 8 initialPosition I
24 35 9 srcByteBufferLen I
31 35 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 9
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
4: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
5: aload 1
iload 2
iload 3
6: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 srcBuffer Ljava/nio/ByteBuffer;
0 11 1 dstBytes [B
0 11 2 dstOffset I
0 11 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 8
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
4: aload 3
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iadd
iload 2
5: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 3
aload 3
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: goto 9
8: StackMap locals:
StackMap stack:
aload 3
aload 0
iload 1
iload 2
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
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 srcBytes [B
0 10 1 srcOffset I
0 10 2 length I
0 10 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;
14: astore 4
start local 4 15: 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
16: aload 4
aload 1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
17: aload 4
aload 2
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
18: aload 4
iload 3
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowBufferDispose:(Z)V
19: 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 20 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 20 1 buffer1 Lorg/glassfish/grizzly/Buffer;
0 20 2 buffer2 Lorg/glassfish/grizzly/Buffer;
0 20 3 isCompositeBufferDisposable Z
15 20 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 6
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
3: iload 4
iload 2
iadd
iload 3
4: invokestatic java.util.Arrays.fill:([BIIB)V
end local 4 5: goto 11
6: StackMap locals:
StackMap stack:
iload 1
istore 4
start local 4 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
iload 4
iload 3
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 8
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 byteBuffer Ljava/nio/ByteBuffer;
0 12 1 position I
0 12 2 limit I
0 12 3 b B
2 5 4 arrayOffset I
7 11 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 12
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
8: 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
9: invokevirtual java.nio.channels.FileChannel.read:([Ljava/nio/ByteBuffer;II)J
lstore 2
start local 2 10: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
11: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 4 12: StackMap locals: long
StackMap stack:
lload 2
lconst_0
lcmp
ifle 14
13: 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
14: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 fileChannel Ljava/nio/channels/FileChannel;
0 15 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 bytesRead J
10 15 2 bytesRead J
2 5 4 bb Ljava/nio/ByteBuffer;
3 5 5 oldPos I
7 12 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 12
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
8: 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
9: invokevirtual java.nio.channels.FileChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 2
start local 2 10: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.restore:()V
11: aload 4
invokevirtual org.glassfish.grizzly.memory.ByteBufferArray.recycle:()V
end local 4 12: StackMap locals: long
StackMap stack:
lload 2
lconst_0
lcmp
ifle 14
13: 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
14: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 fileChannel Ljava/nio/channels/FileChannel;
0 15 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 bytesWritten J
10 15 2 bytesWritten J
2 5 4 bb Ljava/nio/ByteBuffer;
3 5 5 oldPos I
7 12 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
3: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
4: 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 5 0 this Lorg/glassfish/grizzly/memory/Buffers;
0 5 1 buffer Lorg/glassfish/grizzly/Buffer;
0 5 2 headBytesCount I
0 5 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
6: aload 5
invokevirtual java.lang.String.length:()I
iload 2
iadd
iload 3
iadd
iconst_5
iadd
7: invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
start local 6 8: aload 6
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 2
iload 3
iadd
if_icmpgt 12
10: 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
11: goto 23
12: StackMap locals: java.lang.String java.lang.StringBuilder
StackMap stack:
aload 6
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: iload 2
ifle 17
14: aload 6
aload 1
aload 4
15: aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 2
iadd
16: 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
17: StackMap locals:
StackMap stack:
aload 6
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: iload 3
ifle 22
19: aload 6
aload 1
aload 4
20: aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 3
isub
aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
21: 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
22: StackMap locals:
StackMap stack:
aload 6
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: 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 24 0 this Lorg/glassfish/grizzly/memory/Buffers;
0 24 1 buffer Lorg/glassfish/grizzly/Buffer;
0 24 2 headBytesCount I
0 24 3 tailBytesCount I
0 24 4 charset Ljava/nio/charset/Charset;
5 24 5 toString Ljava/lang/String;
8 24 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 31
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
22: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
23: 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
24: 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
25: 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
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
26: 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
27: 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
28: 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
29: 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 30: iinc 3 1
iinc 2 16
StackMap locals:
StackMap stack:
31: iload 3
iload 4
if_icmplt 5
end local 4 end local 3 32: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 16
irem
istore 3
start local 3 33: iload 3
ifle 45
34: iload 3
iconst_1
ishl
iconst_1
iadd
anewarray java.lang.Object
astore 4
start local 4 35: aload 4
iconst_0
iload 3
iload 2
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
36: iconst_0
istore 5
start local 5 37: iconst_1
istore 6
start local 6 38: goto 43
39: 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 40: aload 4
iload 6
iload 7
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
41: 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 42: iinc 5 1
iinc 6 1
StackMap locals:
StackMap stack:
43: iload 5
iload 3
if_icmplt 39
end local 6 end local 5 44: 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 45: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 formatter Ljava/util/Formatter;
0 46 1 buffer Lorg/glassfish/grizzly/Buffer;
2 46 2 line I
3 32 3 i I
4 32 4 len I
6 30 5 b0 B
7 30 6 b1 B
8 30 7 b2 B
9 30 8 b3 B
10 30 9 b4 B
11 30 10 b5 B
12 30 11 b6 B
13 30 12 b7 B
14 30 13 b8 B
15 30 14 b9 B
16 30 15 b10 B
17 30 16 b11 B
18 30 17 b12 B
19 30 18 b13 B
20 30 19 b14 B
21 30 20 b15 B
33 46 3 remaining I
35 45 4 args [Ljava/lang/Object;
37 44 5 i I
38 44 6 aIdx I
40 42 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