class sun.nio.fs.NativeBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.NativeBuffer
super_class: java.lang.Object
{
private static final sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final long address;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.misc.Cleaner cleaner;
descriptor: Lsun/misc/Cleaner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object owner;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
putstatic sun.nio.fs.NativeBuffer.unsafe:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic sun.nio.fs.NativeBuffer.unsafe:Lsun/misc/Unsafe;
iload 1
i2l
invokevirtual sun.misc.Unsafe.allocateMemory:(J)J
putfield sun.nio.fs.NativeBuffer.address:J
2: aload 0
iload 1
putfield sun.nio.fs.NativeBuffer.size:I
3: aload 0
aload 0
new sun.nio.fs.NativeBuffer$Deallocator
dup
aload 0
getfield sun.nio.fs.NativeBuffer.address:J
invokespecial sun.nio.fs.NativeBuffer$Deallocator.<init>:(J)V
invokestatic sun.misc.Cleaner.create:(Ljava/lang/Object;Ljava/lang/Runnable;)Lsun/misc/Cleaner;
putfield sun.nio.fs.NativeBuffer.cleaner:Lsun/misc/Cleaner;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/NativeBuffer;
0 5 1 size I
MethodParameters:
Name Flags
size
void release();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.nio.fs.NativeBuffers.releaseNativeBuffer:(Lsun/nio/fs/NativeBuffer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/NativeBuffer;
long address();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.NativeBuffer.address:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/NativeBuffer;
int size();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.NativeBuffer.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/NativeBuffer;
sun.misc.Cleaner cleaner();
descriptor: ()Lsun/misc/Cleaner;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.NativeBuffer.cleaner:Lsun/misc/Cleaner;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/NativeBuffer;
void setOwner(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.nio.fs.NativeBuffer.owner:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/NativeBuffer;
0 2 1 owner Ljava/lang/Object;
MethodParameters:
Name Flags
owner
java.lang.Object owner();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.NativeBuffer.owner:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/NativeBuffer;
}
SourceFile: "NativeBuffer.java"
NestMembers:
sun.nio.fs.NativeBuffer$Deallocator
InnerClasses:
private Deallocator = sun.nio.fs.NativeBuffer$Deallocator of sun.nio.fs.NativeBuffer