class com.sun.tools.hat.internal.parser.MappedReadBuffer implements com.sun.tools.hat.internal.parser.ReadBuffer
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.tools.hat.internal.parser.MappedReadBuffer
  super_class: java.lang.Object
{
  private java.nio.MappedByteBuffer buf;
    descriptor: Ljava/nio/MappedByteBuffer;
    flags: (0x0002) ACC_PRIVATE

  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=1, locals=0, args_size=0
         0: .line 45
            ldc Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            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 com.sun.tools.hat.internal.parser.MappedReadBuffer.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.nio.MappedByteBuffer);
    descriptor: (Ljava/nio/MappedByteBuffer;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // java.nio.MappedByteBuffer buf
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            aload 1 /* buf */
            putfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
         2: .line 50
            return
        end local 1 // java.nio.MappedByteBuffer buf
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    3     1   buf  Ljava/nio/MappedByteBuffer;
    MethodParameters:
      Name  Flags
      buf   

  static com.sun.tools.hat.internal.parser.ReadBuffer create(java.io.RandomAccessFile);
    descriptor: (Ljava/io/RandomAccessFile;)Lcom/sun/tools/hat/internal/parser/ReadBuffer;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=6, args_size=1
        start local 0 // java.io.RandomAccessFile file
         0: .line 54
            aload 0 /* file */
            invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
            astore 1 /* ch */
        start local 1 // java.nio.channels.FileChannel ch
         1: .line 55
            aload 1 /* ch */
            invokevirtual java.nio.channels.FileChannel.size:()J
            lstore 2 /* size */
        start local 2 // long size
         2: .line 58
            invokestatic com.sun.tools.hat.internal.parser.MappedReadBuffer.canUseFileMap:()Z
            ifeq 10
            lload 2 /* size */
            ldc 2147483647
            lcmp
            ifgt 10
         3: .line 61
            aload 1 /* ch */
            getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
            lconst_0
            lload 2 /* size */
            invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
            astore 4 /* buf */
        start local 4 // java.nio.MappedByteBuffer buf
         4: .line 62
            aload 1 /* ch */
            invokevirtual java.nio.channels.FileChannel.close:()V
         5: .line 63
            new com.sun.tools.hat.internal.parser.MappedReadBuffer
            dup
            aload 4 /* buf */
            invokespecial com.sun.tools.hat.internal.parser.MappedReadBuffer.<init>:(Ljava/nio/MappedByteBuffer;)V
         6: areturn
        end local 4 // java.nio.MappedByteBuffer buf
         7: .line 64
      StackMap locals: java.io.RandomAccessFile java.nio.channels.FileChannel long
      StackMap stack: java.io.IOException
            astore 5 /* exp */
        start local 5 // java.io.IOException exp
         8: .line 65
            aload 5 /* exp */
            invokevirtual java.io.IOException.printStackTrace:()V
         9: .line 66
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "File mapping failed, will use direct read"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        end local 5 // java.io.IOException exp
        10: .line 70
      StackMap locals:
      StackMap stack:
            new com.sun.tools.hat.internal.parser.FileReadBuffer
            dup
            aload 0 /* file */
            invokespecial com.sun.tools.hat.internal.parser.FileReadBuffer.<init>:(Ljava/io/RandomAccessFile;)V
            areturn
        end local 2 // long size
        end local 1 // java.nio.channels.FileChannel ch
        end local 0 // java.io.RandomAccessFile file
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  file  Ljava/io/RandomAccessFile;
            1   11     1    ch  Ljava/nio/channels/FileChannel;
            2   11     2  size  J
            4    7     4   buf  Ljava/nio/MappedByteBuffer;
            8   10     5   exp  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     6       7  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      file  

  private static boolean canUseFileMap();
    descriptor: ()Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 76
            ldc "jhat.disableFileMap"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 0 /* prop */
        start local 0 // java.lang.String prop
         1: .line 77
            aload 0 /* prop */
            ifnull 2
            aload 0 /* prop */
            ldc "false"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 2
            iconst_0
            ireturn
      StackMap locals: java.lang.String
      StackMap stack:
         2: iconst_1
            ireturn
        end local 0 // java.lang.String prop
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     0  prop  Ljava/lang/String;

  private void seek(long);
    descriptor: (J)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 81
            getstatic com.sun.tools.hat.internal.parser.MappedReadBuffer.$assertionsDisabled:Z
            ifne 1
            lload 1 /* pos */
            ldc 2147483647
            lcmp
            ifle 1
            new java.lang.AssertionError
            dup
            ldc "position overflow"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         1: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            lload 1 /* pos */
            l2i
            invokevirtual java.nio.MappedByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         2: .line 83
            return
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    3     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public synchronized void get(long, byte[]);
    descriptor: (J[B)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
        start local 3 // byte[] res
         0: .line 86
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 87
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            aload 3 /* res */
            invokevirtual java.nio.MappedByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
         2: .line 88
            return
        end local 3 // byte[] res
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    3     1   pos  J
            0    3     3   res  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   
      res   

  public synchronized char getChar(long);
    descriptor: (J)C
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 91
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 92
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            invokevirtual java.nio.MappedByteBuffer.getChar:()C
            ireturn
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public synchronized byte getByte(long);
    descriptor: (J)B
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 96
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 97
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            invokevirtual java.nio.MappedByteBuffer.get:()B
            ireturn
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public synchronized short getShort(long);
    descriptor: (J)S
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 101
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 102
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            invokevirtual java.nio.MappedByteBuffer.getShort:()S
            ireturn
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public synchronized int getInt(long);
    descriptor: (J)I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 106
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 107
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            invokevirtual java.nio.MappedByteBuffer.getInt:()I
            ireturn
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public synchronized long getLong(long);
    descriptor: (J)J
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
        start local 1 // long pos
         0: .line 111
            aload 0 /* this */
            lload 1 /* pos */
            invokevirtual com.sun.tools.hat.internal.parser.MappedReadBuffer.seek:(J)V
         1: .line 112
            aload 0 /* this */
            getfield com.sun.tools.hat.internal.parser.MappedReadBuffer.buf:Ljava/nio/MappedByteBuffer;
            invokevirtual java.nio.MappedByteBuffer.getLong:()J
            lreturn
        end local 1 // long pos
        end local 0 // com.sun.tools.hat.internal.parser.MappedReadBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/tools/hat/internal/parser/MappedReadBuffer;
            0    2     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   
}
SourceFile: "MappedReadBuffer.java"
InnerClasses:
  public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel