class sun.nio.fs.NativeBuffers
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.nio.fs.NativeBuffers
  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 static final int TEMP_BUF_POOL_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  private static java.lang.ThreadLocal<sun.nio.fs.NativeBuffer[]> threadLocal;
    descriptor: Ljava/lang/ThreadLocal;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/lang/ThreadLocal<[Lsun/nio/fs/NativeBuffer;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 34
            ldc Lsun/nio/fs/NativeBuffers;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.nio.fs.NativeBuffers.$assertionsDisabled:Z
         3: .line 37
            invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
            putstatic sun.nio.fs.NativeBuffers.unsafe:Lsun/misc/Unsafe;
         4: .line 41
            new java.lang.ThreadLocal
            dup
            invokespecial java.lang.ThreadLocal.<init>:()V
         5: .line 40
            putstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
         6: .line 41
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.nio.fs.NativeBuffers this
         0: .line 35
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.nio.fs.NativeBuffers this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/nio/fs/NativeBuffers;

  static sun.nio.fs.NativeBuffer allocNativeBuffer(int);
    descriptor: (I)Lsun/nio/fs/NativeBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // int size
         0: .line 48
            iload 0 /* size */
            sipush 2048
            if_icmpge 1
            sipush 2048
            istore 0 /* size */
         1: .line 49
      StackMap locals:
      StackMap stack:
            new sun.nio.fs.NativeBuffer
            dup
            iload 0 /* size */
            invokespecial sun.nio.fs.NativeBuffer.<init>:(I)V
            areturn
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  size  I
    MethodParameters:
      Name  Flags
      size  

  static sun.nio.fs.NativeBuffer getNativeBufferFromCache(int);
    descriptor: (I)Lsun/nio/fs/NativeBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // int size
         0: .line 58
            getstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast sun.nio.fs.NativeBuffer[]
            astore 1 /* buffers */
        start local 1 // sun.nio.fs.NativeBuffer[] buffers
         1: .line 59
            aload 1 /* buffers */
            ifnull 10
         2: .line 60
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         3: goto 9
         4: .line 61
      StackMap locals: sun.nio.fs.NativeBuffer[] int
      StackMap stack:
            aload 1 /* buffers */
            iload 2 /* i */
            aaload
            astore 3 /* buffer */
        start local 3 // sun.nio.fs.NativeBuffer buffer
         5: .line 62
            aload 3 /* buffer */
            ifnull 8
            aload 3 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.size:()I
            iload 0 /* size */
            if_icmplt 8
         6: .line 63
            aload 1 /* buffers */
            iload 2 /* i */
            aconst_null
            aastore
         7: .line 64
            aload 3 /* buffer */
            areturn
        end local 3 // sun.nio.fs.NativeBuffer buffer
         8: .line 60
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 2 /* i */
            iconst_3
            if_icmplt 4
        end local 2 // int i
        10: .line 68
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // sun.nio.fs.NativeBuffer[] buffers
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     size  I
            1   11     1  buffers  [Lsun/nio/fs/NativeBuffer;
            3   10     2        i  I
            5    8     3   buffer  Lsun/nio/fs/NativeBuffer;
    MethodParameters:
      Name  Flags
      size  

  static sun.nio.fs.NativeBuffer getNativeBuffer(int);
    descriptor: (I)Lsun/nio/fs/NativeBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // int size
         0: .line 77
            iload 0 /* size */
            invokestatic sun.nio.fs.NativeBuffers.getNativeBufferFromCache:(I)Lsun/nio/fs/NativeBuffer;
            astore 1 /* buffer */
        start local 1 // sun.nio.fs.NativeBuffer buffer
         1: .line 78
            aload 1 /* buffer */
            ifnull 4
         2: .line 79
            aload 1 /* buffer */
            aconst_null
            invokevirtual sun.nio.fs.NativeBuffer.setOwner:(Ljava/lang/Object;)V
         3: .line 80
            aload 1 /* buffer */
            areturn
         4: .line 82
      StackMap locals: sun.nio.fs.NativeBuffer
      StackMap stack:
            iload 0 /* size */
            invokestatic sun.nio.fs.NativeBuffers.allocNativeBuffer:(I)Lsun/nio/fs/NativeBuffer;
            areturn
        end local 1 // sun.nio.fs.NativeBuffer buffer
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    size  I
            1    5     1  buffer  Lsun/nio/fs/NativeBuffer;
    MethodParameters:
      Name  Flags
      size  

  static void releaseNativeBuffer(sun.nio.fs.NativeBuffer);
    descriptor: (Lsun/nio/fs/NativeBuffer;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // sun.nio.fs.NativeBuffer buffer
         0: .line 92
            getstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast sun.nio.fs.NativeBuffer[]
            astore 1 /* buffers */
        start local 1 // sun.nio.fs.NativeBuffer[] buffers
         1: .line 93
            aload 1 /* buffers */
            ifnonnull 6
         2: .line 94
            iconst_3
            anewarray sun.nio.fs.NativeBuffer
            astore 1 /* buffers */
         3: .line 95
            aload 1 /* buffers */
            iconst_0
            aload 0 /* buffer */
            aastore
         4: .line 96
            getstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
            aload 1 /* buffers */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
         5: .line 97
            return
         6: .line 100
      StackMap locals: sun.nio.fs.NativeBuffer[]
      StackMap stack:
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         7: goto 12
         8: .line 101
      StackMap locals: int
      StackMap stack:
            aload 1 /* buffers */
            iload 2 /* i */
            aaload
            ifnonnull 11
         9: .line 102
            aload 1 /* buffers */
            iload 2 /* i */
            aload 0 /* buffer */
            aastore
        10: .line 103
            return
        11: .line 100
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 2 /* i */
            iconst_3
            if_icmplt 8
        end local 2 // int i
        13: .line 107
            iconst_0
            istore 2 /* i */
        start local 2 // int i
        14: goto 21
        15: .line 108
      StackMap locals:
      StackMap stack:
            aload 1 /* buffers */
            iload 2 /* i */
            aaload
            astore 3 /* existing */
        start local 3 // sun.nio.fs.NativeBuffer existing
        16: .line 109
            aload 3 /* existing */
            invokevirtual sun.nio.fs.NativeBuffer.size:()I
            aload 0 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.size:()I
            if_icmpge 20
        17: .line 110
            aload 3 /* existing */
            invokevirtual sun.nio.fs.NativeBuffer.cleaner:()Lsun/misc/Cleaner;
            invokevirtual sun.misc.Cleaner.clean:()V
        18: .line 111
            aload 1 /* buffers */
            iload 2 /* i */
            aload 0 /* buffer */
            aastore
        19: .line 112
            return
        end local 3 // sun.nio.fs.NativeBuffer existing
        20: .line 107
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        21: iload 2 /* i */
            iconst_3
            if_icmplt 15
        end local 2 // int i
        22: .line 117
            aload 0 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.cleaner:()Lsun/misc/Cleaner;
            invokevirtual sun.misc.Cleaner.clean:()V
        23: .line 118
            return
        end local 1 // sun.nio.fs.NativeBuffer[] buffers
        end local 0 // sun.nio.fs.NativeBuffer buffer
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   24     0    buffer  Lsun/nio/fs/NativeBuffer;
            1   24     1   buffers  [Lsun/nio/fs/NativeBuffer;
            7   13     2         i  I
           14   22     2         i  I
           16   20     3  existing  Lsun/nio/fs/NativeBuffer;
    MethodParameters:
        Name  Flags
      buffer  

  static void copyCStringToNativeBuffer(byte[], sun.nio.fs.NativeBuffer);
    descriptor: ([BLsun/nio/fs/NativeBuffer;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=6, args_size=2
        start local 0 // byte[] cstr
        start local 1 // sun.nio.fs.NativeBuffer buffer
         0: .line 124
            getstatic sun.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET:I
            i2l
            lstore 2 /* offset */
        start local 2 // long offset
         1: .line 125
            aload 0 /* cstr */
            arraylength
            i2l
            lstore 4 /* len */
        start local 4 // long len
         2: .line 126
            getstatic sun.nio.fs.NativeBuffers.$assertionsDisabled:Z
            ifne 3
            aload 1 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.size:()I
            i2l
            lload 4 /* len */
            lconst_1
            ladd
            lcmp
            ifge 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 127
      StackMap locals: long long
      StackMap stack:
            getstatic sun.nio.fs.NativeBuffers.unsafe:Lsun/misc/Unsafe;
            aload 0 /* cstr */
            lload 2 /* offset */
            aconst_null
            aload 1 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.address:()J
            lload 4 /* len */
            invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
         4: .line 128
            getstatic sun.nio.fs.NativeBuffers.unsafe:Lsun/misc/Unsafe;
            aload 1 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.address:()J
            lload 4 /* len */
            ladd
            iconst_0
            invokevirtual sun.misc.Unsafe.putByte:(JB)V
         5: .line 129
            return
        end local 4 // long len
        end local 2 // long offset
        end local 1 // sun.nio.fs.NativeBuffer buffer
        end local 0 // byte[] cstr
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    cstr  [B
            0    6     1  buffer  Lsun/nio/fs/NativeBuffer;
            1    6     2  offset  J
            2    6     4     len  J
    MethodParameters:
        Name  Flags
      cstr    
      buffer  

  static sun.nio.fs.NativeBuffer asNativeBuffer(byte[]);
    descriptor: ([B)Lsun/nio/fs/NativeBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // byte[] cstr
         0: .line 136
            aload 0 /* cstr */
            arraylength
            iconst_1
            iadd
            invokestatic sun.nio.fs.NativeBuffers.getNativeBuffer:(I)Lsun/nio/fs/NativeBuffer;
            astore 1 /* buffer */
        start local 1 // sun.nio.fs.NativeBuffer buffer
         1: .line 137
            aload 0 /* cstr */
            aload 1 /* buffer */
            invokestatic sun.nio.fs.NativeBuffers.copyCStringToNativeBuffer:([BLsun/nio/fs/NativeBuffer;)V
         2: .line 138
            aload 1 /* buffer */
            areturn
        end local 1 // sun.nio.fs.NativeBuffer buffer
        end local 0 // byte[] cstr
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    cstr  [B
            1    3     1  buffer  Lsun/nio/fs/NativeBuffer;
    MethodParameters:
      Name  Flags
      cstr  
}
SourceFile: "NativeBuffers.java"