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 jdk.internal.misc.Unsafe unsafe;
    descriptor: Ljdk/internal/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 35
            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 38
            invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
            putstatic sun.nio.fs.NativeBuffers.unsafe:Ljdk/internal/misc/Unsafe;
         4: .line 41
            new sun.nio.fs.NativeBuffers$1
            dup
            invokespecial sun.nio.fs.NativeBuffers$1.<init>:()V
            putstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
         5: .line 55
            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 36
            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 62
            iload 0 /* size */
            sipush 2048
            if_icmpge 1
            sipush 2048
            istore 0 /* size */
         1: .line 63
      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 72
            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 73
            aload 1 /* buffers */
            ifnull 10
         2: .line 74
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         3: goto 9
         4: .line 75
      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 76
            aload 3 /* buffer */
            ifnull 8
            aload 3 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.size:()I
            iload 0 /* size */
            if_icmplt 8
         6: .line 77
            aload 1 /* buffers */
            iload 2 /* i */
            aconst_null
            aastore
         7: .line 78
            aload 3 /* buffer */
            areturn
        end local 3 // sun.nio.fs.NativeBuffer buffer
         8: .line 74
      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 82
      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 91
            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 92
            aload 1 /* buffer */
            ifnull 4
         2: .line 93
            aload 1 /* buffer */
            aconst_null
            invokevirtual sun.nio.fs.NativeBuffer.setOwner:(Ljava/lang/Object;)V
         3: .line 94
            aload 1 /* buffer */
            areturn
         4: .line 96
      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 106
            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 107
            aload 1 /* buffers */
            ifnonnull 6
         2: .line 108
            iconst_3
            anewarray sun.nio.fs.NativeBuffer
            astore 1 /* buffers */
         3: .line 109
            aload 1 /* buffers */
            iconst_0
            aload 0 /* buffer */
            aastore
         4: .line 110
            getstatic sun.nio.fs.NativeBuffers.threadLocal:Ljava/lang/ThreadLocal;
            aload 1 /* buffers */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
         5: .line 111
            return
         6: .line 114
      StackMap locals: sun.nio.fs.NativeBuffer[]
      StackMap stack:
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         7: goto 12
         8: .line 115
      StackMap locals: int
      StackMap stack:
            aload 1 /* buffers */
            iload 2 /* i */
            aaload
            ifnonnull 11
         9: .line 116
            aload 1 /* buffers */
            iload 2 /* i */
            aload 0 /* buffer */
            aastore
        10: .line 117
            return
        11: .line 114
      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 121
            iconst_0
            istore 2 /* i */
        start local 2 // int i
        14: goto 21
        15: .line 122
      StackMap locals:
      StackMap stack:
            aload 1 /* buffers */
            iload 2 /* i */
            aaload
            astore 3 /* existing */
        start local 3 // sun.nio.fs.NativeBuffer existing
        16: .line 123
            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 124
            aload 3 /* existing */
            invokevirtual sun.nio.fs.NativeBuffer.free:()V
        18: .line 125
            aload 1 /* buffers */
            iload 2 /* i */
            aload 0 /* buffer */
            aastore
        19: .line 126
            return
        end local 3 // sun.nio.fs.NativeBuffer existing
        20: .line 121
      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 131
            aload 0 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.free:()V
        23: .line 132
            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 138
            getstatic jdk.internal.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET:I
            i2l
            lstore 2 /* offset */
        start local 2 // long offset
         1: .line 139
            aload 0 /* cstr */
            arraylength
            i2l
            lstore 4 /* len */
        start local 4 // long len
         2: .line 140
            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 141
      StackMap locals: long long
      StackMap stack:
            getstatic sun.nio.fs.NativeBuffers.unsafe:Ljdk/internal/misc/Unsafe;
            aload 0 /* cstr */
            lload 2 /* offset */
            aconst_null
            aload 1 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.address:()J
            lload 4 /* len */
            invokevirtual jdk.internal.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
         4: .line 142
            getstatic sun.nio.fs.NativeBuffers.unsafe:Ljdk/internal/misc/Unsafe;
            aload 1 /* buffer */
            invokevirtual sun.nio.fs.NativeBuffer.address:()J
            lload 4 /* len */
            ladd
            iconst_0
            invokevirtual jdk.internal.misc.Unsafe.putByte:(JB)V
         5: .line 143
            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 150
            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 151
            aload 0 /* cstr */
            aload 1 /* buffer */
            invokestatic sun.nio.fs.NativeBuffers.copyCStringToNativeBuffer:([BLsun/nio/fs/NativeBuffer;)V
         2: .line 152
            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"
NestMembers:
  sun.nio.fs.NativeBuffers$1
InnerClasses:
  sun.nio.fs.NativeBuffers$1