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 jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/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 java.lang.ref.Cleaner$Cleanable cleanable;
descriptor: Ljava/lang/ref/Cleaner$Cleanable;
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 jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic sun.nio.fs.NativeBuffer.unsafe:Ljdk/internal/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=7, 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:Ljdk/internal/misc/Unsafe;
iload 1
i2l
invokevirtual jdk.internal.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
invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
4: 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
invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
5: putfield sun.nio.fs.NativeBuffer.cleanable:Ljava/lang/ref/Cleaner$Cleanable;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/nio/fs/NativeBuffer;
0 7 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;
void free();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.NativeBuffer.cleanable:Ljava/lang/ref/Cleaner$Cleanable;
invokeinterface java.lang.ref.Cleaner$Cleanable.clean:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 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:
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
private Deallocator = sun.nio.fs.NativeBuffer$Deallocator of sun.nio.fs.NativeBuffer