public class org.glassfish.grizzly.memory.MemoryUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.memory.MemoryUtils
super_class: java.lang.Object
{
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/MemoryUtils;
public static java.nio.ByteBuffer allocateByteBuffer(org.glassfish.grizzly.memory.MemoryManager, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.glassfish.grizzly.memory.ByteBufferAware
ifeq 2
1: aload 0
checkcast org.glassfish.grizzly.memory.ByteBufferAware
iload 1
invokeinterface org.glassfish.grizzly.memory.ByteBufferAware.allocateByteBuffer:(I)Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 3 1 size I
MethodParameters:
Name Flags
memoryManager
size
public static java.nio.ByteBuffer reallocateByteBuffer(org.glassfish.grizzly.memory.MemoryManager, java.nio.ByteBuffer, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
instanceof org.glassfish.grizzly.memory.ByteBufferAware
ifeq 4
1: aload 0
checkcast org.glassfish.grizzly.memory.ByteBufferAware
2: aload 1
iload 2
3: invokeinterface org.glassfish.grizzly.memory.ByteBufferAware.reallocateByteBuffer:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
areturn
4: StackMap locals:
StackMap stack:
iload 2
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
areturn
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 oldByteBuffer Ljava/nio/ByteBuffer;
0 5 2 size I
MethodParameters:
Name Flags
memoryManager
oldByteBuffer
size
public static void releaseByteBuffer(org.glassfish.grizzly.memory.MemoryManager, java.nio.ByteBuffer);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.glassfish.grizzly.memory.ByteBufferAware
ifeq 2
1: aload 0
checkcast org.glassfish.grizzly.memory.ByteBufferAware
aload 1
invokeinterface org.glassfish.grizzly.memory.ByteBufferAware.releaseByteBuffer:(Ljava/nio/ByteBuffer;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 3 1 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
memoryManager
byteBuffer
}
SourceFile: "MemoryUtils.java"