public final class jdk.jfr.internal.consumer.RecordingInput implements java.io.DataInput, java.lang.AutoCloseable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.consumer.RecordingInput
  super_class: java.lang.Object
{
  public static final byte STRING_ENCODING_NULL;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  public static final byte STRING_ENCODING_EMPTY_STRING;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  public static final byte STRING_ENCODING_CONSTANT_POOL;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  public static final byte STRING_ENCODING_UTF8_BYTE_ARRAY;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  public static final byte STRING_ENCODING_CHAR_ARRAY;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  public static final byte STRING_ENCODING_LATIN1_BYTE_ARRAY;
    descriptor: B
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 5

  private static final int DEFAULT_BLOCK_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 16777216

  private static final java.nio.charset.Charset UTF8;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.nio.charset.Charset LATIN1;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.io.RandomAccessFile file;
    descriptor: Ljava/io/RandomAccessFile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long size;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private jdk.jfr.internal.consumer.RecordingInput$Block currentBlock;
    descriptor: Ljdk/jfr/internal/consumer/RecordingInput$Block;
    flags: (0x0002) ACC_PRIVATE

  private jdk.jfr.internal.consumer.RecordingInput$Block previousBlock;
    descriptor: Ljdk/jfr/internal/consumer/RecordingInput$Block;
    flags: (0x0002) ACC_PRIVATE

  private long position;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private final int blockSize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 45
            ldc "UTF-8"
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            putstatic jdk.jfr.internal.consumer.RecordingInput.UTF8:Ljava/nio/charset/Charset;
         1: .line 46
            ldc "ISO-8859-1"
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            putstatic jdk.jfr.internal.consumer.RecordingInput.LATIN1:Ljava/nio/charset/Charset;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(java.io.File, int);
    descriptor: (Ljava/io/File;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // java.io.File f
        start local 2 // int blockSize
         0: .line 77
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 72
            aload 0 /* this */
            new jdk.jfr.internal.consumer.RecordingInput$Block
            dup
            invokespecial jdk.jfr.internal.consumer.RecordingInput$Block.<init>:()V
            putfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
         2: .line 73
            aload 0 /* this */
            new jdk.jfr.internal.consumer.RecordingInput$Block
            dup
            invokespecial jdk.jfr.internal.consumer.RecordingInput$Block.<init>:()V
            putfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
         3: .line 78
            aload 0 /* this */
            aload 1 /* f */
            invokevirtual java.io.File.length:()J
            putfield jdk.jfr.internal.consumer.RecordingInput.size:J
         4: .line 79
            aload 0 /* this */
            iload 2 /* blockSize */
            putfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
         5: .line 80
            aload 0 /* this */
            new java.io.RandomAccessFile
            dup
            aload 1 /* f */
            ldc "r"
            invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
            putfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
         6: .line 81
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.size:J
            ldc 8
            lcmp
            ifge 8
         7: .line 82
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Not a valid Flight Recorder file. File length is only "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.size:J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 84
      StackMap locals: jdk.jfr.internal.consumer.RecordingInput java.io.File int
      StackMap stack:
            return
        end local 2 // int blockSize
        end local 1 // java.io.File f
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    9     1          f  Ljava/io/File;
            0    9     2  blockSize  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      f          
      blockSize  

  public void <init>(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // java.io.File f
         0: .line 87
            aload 0 /* this */
            aload 1 /* f */
            ldc 16777216
            invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;I)V
         1: .line 88
            return
        end local 1 // java.io.File f
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    2     1     f  Ljava/io/File;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      f     

  public final byte readByte();
    descriptor: ()B
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=8, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 92
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.position:J
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
            ifne 2
         1: .line 93
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.position:J
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
         2: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            aload 0 /* this */
            dup
            getfield jdk.jfr.internal.consumer.RecordingInput.position:J
            dup2_x1
            lconst_1
            ladd
            putfield jdk.jfr.internal.consumer.RecordingInput.position:J
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.get:(J)B
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final void readFully(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // byte[] dest
        start local 2 // int offset
        start local 3 // int length
         0: .line 102
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         1: goto 4
         2: .line 103
      StackMap locals: int
      StackMap stack:
            aload 1 /* dest */
            iload 4 /* i */
            iload 2 /* offset */
            iadd
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            bastore
         3: .line 102
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 4 /* i */
            iload 3 /* length */
            if_icmplt 2
        end local 4 // int i
         5: .line 105
            return
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] dest
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    6     1    dest  [B
            0    6     2  offset  I
            0    6     3  length  I
            1    5     4       i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      dest    
      offset  
      length  

  public final void readFully(byte[]);
    descriptor: ([B)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // byte[] dst
         0: .line 109
            aload 0 /* this */
            aload 1 /* dst */
            iconst_0
            aload 1 /* dst */
            arraylength
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readFully:([BII)V
         1: .line 110
            return
        end local 1 // byte[] dst
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    2     1   dst  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   

  public final short readRawShort();
    descriptor: ()S
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 114
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 1 /* b0 */
        start local 1 // byte b0
         1: .line 115
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 2 /* b1 */
        start local 2 // byte b1
         2: .line 116
            iload 2 /* b1 */
            sipush 255
            iand
            iload 1 /* b0 */
            bipush 8
            ishl
            iadd
            i2s
            ireturn
        end local 2 // byte b1
        end local 1 // byte b0
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            1    3     1    b0  B
            2    3     2    b1  B
    Exceptions:
      throws java.io.IOException

  public final double readDouble();
    descriptor: ()D
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 122
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readRawLong:()J
            invokestatic java.lang.Double.longBitsToDouble:(J)D
            dreturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final float readFloat();
    descriptor: ()F
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 128
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readRawInt:()I
            invokestatic java.lang.Float.intBitsToFloat:(I)F
            freturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final int readRawInt();
    descriptor: ()I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 133
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 1 /* b0 */
        start local 1 // byte b0
         1: .line 134
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 2 /* b1 */
        start local 2 // byte b1
         2: .line 135
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 3 /* b2 */
        start local 3 // byte b2
         3: .line 136
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 4 /* b3 */
        start local 4 // byte b3
         4: .line 137
            iload 4 /* b3 */
            sipush 255
            iand
            iload 3 /* b2 */
            sipush 255
            iand
            bipush 8
            ishl
            iadd
            iload 2 /* b1 */
            sipush 255
            iand
            bipush 16
            ishl
            iadd
            iload 1 /* b0 */
            bipush 24
            ishl
            iadd
            ireturn
        end local 4 // byte b3
        end local 3 // byte b2
        end local 2 // byte b1
        end local 1 // byte b0
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            1    5     1    b0  B
            2    5     2    b1  B
            3    5     3    b2  B
            4    5     4    b3  B
    Exceptions:
      throws java.io.IOException

  public final long readRawLong();
    descriptor: ()J
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=6, locals=9, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 142
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 1 /* b0 */
        start local 1 // byte b0
         1: .line 143
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 2 /* b1 */
        start local 2 // byte b1
         2: .line 144
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 3 /* b2 */
        start local 3 // byte b2
         3: .line 145
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 4 /* b3 */
        start local 4 // byte b3
         4: .line 146
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 5 /* b4 */
        start local 5 // byte b4
         5: .line 147
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 6 /* b5 */
        start local 6 // byte b5
         6: .line 148
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 7 /* b6 */
        start local 7 // byte b6
         7: .line 149
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 8 /* b7 */
        start local 8 // byte b7
         8: .line 150
            iload 8 /* b7 */
            i2l
            ldc 255
            land
            iload 7 /* b6 */
            i2l
            ldc 255
            land
            bipush 8
            lshl
            ladd
            iload 6 /* b5 */
            i2l
            ldc 255
            land
            bipush 16
            lshl
            ladd
            iload 5 /* b4 */
            i2l
            ldc 255
            land
            bipush 24
            lshl
            ladd
            iload 4 /* b3 */
            i2l
            ldc 255
            land
            bipush 32
            lshl
            ladd
            iload 3 /* b2 */
            i2l
            ldc 255
            land
            bipush 40
            lshl
            ladd
            iload 2 /* b1 */
            i2l
            ldc 255
            land
            bipush 48
            lshl
            ladd
            iload 1 /* b0 */
            i2l
            bipush 56
            lshl
            ladd
            lreturn
        end local 8 // byte b7
        end local 7 // byte b6
        end local 6 // byte b5
        end local 5 // byte b4
        end local 4 // byte b3
        end local 3 // byte b2
        end local 2 // byte b1
        end local 1 // byte b0
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            1    9     1    b0  B
            2    9     2    b1  B
            3    9     3    b2  B
            4    9     4    b3  B
            5    9     5    b4  B
            6    9     6    b5  B
            7    9     7    b6  B
            8    9     8    b7  B
    Exceptions:
      throws java.io.IOException

  public final long position();
    descriptor: ()J
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 154
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.position:J
            lreturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final void position(long);
    descriptor: (J)V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // long newPosition
         0: .line 158
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            lload 1 /* newPosition */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
            ifne 11
         1: .line 159
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            lload 1 /* newPosition */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
            ifne 8
         2: .line 160
            lload 1 /* newPosition */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
            lcmp
            ifle 4
         3: .line 161
            new java.io.EOFException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Trying to read at "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* newPosition */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", but file is only "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " bytes."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            lload 1 /* newPosition */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.calculateBlockStart:(J)J
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.trimToFileSize:(J)J
            lstore 3 /* blockStart */
        start local 3 // long blockStart
         5: .line 164
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
            lload 3 /* blockStart */
            invokevirtual java.io.RandomAccessFile.seek:(J)V
         6: .line 166
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
            lload 3 /* blockStart */
            lsub
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
            i2l
            invokestatic java.lang.Math.min:(JJ)J
            lstore 5 /* amount */
        start local 5 // long amount
         7: .line 167
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
            lload 5 /* amount */
            l2i
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.read:(Ljava/io/RandomAccessFile;I)V
        end local 5 // long amount
        end local 3 // long blockStart
         8: .line 170
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            astore 3 /* tmp */
        start local 3 // jdk.jfr.internal.consumer.RecordingInput$Block tmp
         9: .line 171
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            putfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
        10: .line 172
            aload 0 /* this */
            aload 3 /* tmp */
            putfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
        end local 3 // jdk.jfr.internal.consumer.RecordingInput$Block tmp
        11: .line 174
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* newPosition */
            putfield jdk.jfr.internal.consumer.RecordingInput.position:J
        12: .line 175
            return
        end local 1 // long newPosition
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   13     0         this  Ljdk/jfr/internal/consumer/RecordingInput;
            0   13     1  newPosition  J
            5    8     3   blockStart  J
            7    8     5       amount  J
            9   11     3          tmp  Ljdk/jfr/internal/consumer/RecordingInput$Block;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      newPosition  

  private final long trimToFileSize(long);
    descriptor: (J)J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // long position
         0: .line 178
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
            lconst_0
            lload 1 /* position */
            invokestatic java.lang.Math.max:(JJ)J
            invokestatic java.lang.Math.min:(JJ)J
            lreturn
        end local 1 // long position
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    1     1  position  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      position  

  private final long calculateBlockStart(long);
    descriptor: (J)J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // long newPosition
         0: .line 183
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            lload 1 /* newPosition */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
            i2l
            lsub
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
            ifeq 2
         1: .line 184
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            getfield jdk.jfr.internal.consumer.RecordingInput$Block.blockPosition:J
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            getfield jdk.jfr.internal.consumer.RecordingInput$Block.bytes:[B
            arraylength
            i2l
            ladd
            lreturn
         2: .line 187
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            lload 1 /* newPosition */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
            i2l
            ladd
            invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
            ifeq 4
         3: .line 188
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
            getfield jdk.jfr.internal.consumer.RecordingInput$Block.blockPosition:J
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
            i2l
            lsub
            lreturn
         4: .line 191
      StackMap locals:
      StackMap stack:
            lload 1 /* newPosition */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
            iconst_2
            idiv
            i2l
            lsub
            lreturn
        end local 1 // long newPosition
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    5     1  newPosition  J
    MethodParameters:
             Name  Flags
      newPosition  

  public final long size();
    descriptor: ()J
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 195
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.size:J
            lreturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final void close();
    descriptor: ()V
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 199
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
            invokevirtual java.io.RandomAccessFile.close:()V
         1: .line 200
            return
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final int skipBytes(int);
    descriptor: (I)I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // int n
         0: .line 204
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            lstore 2 /* position */
        start local 2 // long position
         1: .line 205
            aload 0 /* this */
            lload 2 /* position */
            iload 1 /* n */
            i2l
            ladd
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
         2: .line 206
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            lload 2 /* position */
            lsub
            l2i
            ireturn
        end local 2 // long position
        end local 1 // int n
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Ljdk/jfr/internal/consumer/RecordingInput;
            0    3     1         n  I
            1    3     2  position  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public final boolean readBoolean();
    descriptor: ()Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 211
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public int readUnsignedByte();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 216
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            sipush 255
            iand
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public int readUnsignedShort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 221
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readShort:()S
            ldc 65535
            iand
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public final java.lang.String readLine();
    descriptor: ()Ljava/lang/String;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 226
            new java.lang.UnsupportedOperationException
            dup
            invokespecial java.lang.UnsupportedOperationException.<init>:()V
            athrow
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public java.lang.String readUTF();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 248
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readEncodedString:(B)Ljava/lang/String;
            areturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public java.lang.String readEncodedString(byte);
    descriptor: (B)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
        start local 1 // byte encoding
         0: .line 252
            iload 1 /* encoding */
            ifne 2
         1: .line 253
            aconst_null
            areturn
         2: .line 255
      StackMap locals:
      StackMap stack:
            iload 1 /* encoding */
            iconst_1
            if_icmpne 4
         3: .line 256
            ldc ""
            areturn
         4: .line 258
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 2 /* size */
        start local 2 // int size
         5: .line 259
            iload 1 /* encoding */
            iconst_4
            if_icmpne 13
         6: .line 260
            iload 2 /* size */
            newarray 5
            astore 3 /* c */
        start local 3 // char[] c
         7: .line 261
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 11
         9: .line 262
      StackMap locals: int char[] int
      StackMap stack:
            aload 3 /* c */
            iload 4 /* i */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readChar:()C
            castore
        10: .line 261
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 4 /* i */
            iload 2 /* size */
            if_icmplt 9
        end local 4 // int i
        12: .line 264
            new java.lang.String
            dup
            aload 3 /* c */
            invokespecial java.lang.String.<init>:([C)V
            areturn
        end local 3 // char[] c
        13: .line 266
      StackMap locals:
      StackMap stack:
            iload 2 /* size */
            newarray 8
            astore 3 /* bytes */
        start local 3 // byte[] bytes
        14: .line 267
            aload 0 /* this */
            aload 3 /* bytes */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readFully:([B)V
        15: .line 268
            iload 1 /* encoding */
            iconst_3
            if_icmpne 17
        16: .line 269
            new java.lang.String
            dup
            aload 3 /* bytes */
            getstatic jdk.jfr.internal.consumer.RecordingInput.UTF8:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
            areturn
        17: .line 272
      StackMap locals: byte[]
      StackMap stack:
            iload 1 /* encoding */
            iconst_5
            if_icmpne 19
        18: .line 273
            new java.lang.String
            dup
            aload 3 /* bytes */
            getstatic jdk.jfr.internal.consumer.RecordingInput.LATIN1:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
            areturn
        19: .line 275
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unknown string encoding "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* encoding */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // byte[] bytes
        end local 2 // int size
        end local 1 // byte encoding
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   20     0      this  Ljdk/jfr/internal/consumer/RecordingInput;
            0   20     1  encoding  B
            5   20     2      size  I
            7   13     3         c  [C
            8   12     4         i  I
           14   20     3     bytes  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      encoding  

  public char readChar();
    descriptor: ()C
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 280
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            l2i
            i2c
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public short readShort();
    descriptor: ()S
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 285
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            l2i
            i2s
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public int readInt();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 290
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            l2i
            ireturn
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException

  public long readLong();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=12, args_size=1
        start local 0 // jdk.jfr.internal.consumer.RecordingInput this
         0: .line 296
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 1 /* b0 */
        start local 1 // byte b0
         1: .line 297
            iload 1 /* b0 */
            i2l
            ldc 127
            land
            lstore 2 /* ret */
        start local 2 // long ret
         2: .line 298
            iload 1 /* b0 */
            iflt 4
         3: .line 299
            lload 2 /* ret */
            lreturn
         4: .line 301
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 4 /* b1 */
        start local 4 // int b1
         5: .line 302
            lload 2 /* ret */
            iload 4 /* b1 */
            i2l
            ldc 127
            land
            bipush 7
            lshl
            ladd
            lstore 2 /* ret */
         6: .line 303
            iload 4 /* b1 */
            iflt 8
         7: .line 304
            lload 2 /* ret */
            lreturn
         8: .line 306
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 5 /* b2 */
        start local 5 // int b2
         9: .line 307
            lload 2 /* ret */
            iload 5 /* b2 */
            i2l
            ldc 127
            land
            bipush 14
            lshl
            ladd
            lstore 2 /* ret */
        10: .line 308
            iload 5 /* b2 */
            iflt 12
        11: .line 309
            lload 2 /* ret */
            lreturn
        12: .line 311
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 6 /* b3 */
        start local 6 // int b3
        13: .line 312
            lload 2 /* ret */
            iload 6 /* b3 */
            i2l
            ldc 127
            land
            bipush 21
            lshl
            ladd
            lstore 2 /* ret */
        14: .line 313
            iload 6 /* b3 */
            iflt 16
        15: .line 314
            lload 2 /* ret */
            lreturn
        16: .line 316
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 7 /* b4 */
        start local 7 // int b4
        17: .line 317
            lload 2 /* ret */
            iload 7 /* b4 */
            i2l
            ldc 127
            land
            bipush 28
            lshl
            ladd
            lstore 2 /* ret */
        18: .line 318
            iload 7 /* b4 */
            iflt 20
        19: .line 319
            lload 2 /* ret */
            lreturn
        20: .line 321
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 8 /* b5 */
        start local 8 // int b5
        21: .line 322
            lload 2 /* ret */
            iload 8 /* b5 */
            i2l
            ldc 127
            land
            bipush 35
            lshl
            ladd
            lstore 2 /* ret */
        22: .line 323
            iload 8 /* b5 */
            iflt 24
        23: .line 324
            lload 2 /* ret */
            lreturn
        24: .line 326
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 9 /* b6 */
        start local 9 // int b6
        25: .line 327
            lload 2 /* ret */
            iload 9 /* b6 */
            i2l
            ldc 127
            land
            bipush 42
            lshl
            ladd
            lstore 2 /* ret */
        26: .line 328
            iload 9 /* b6 */
            iflt 28
        27: .line 329
            lload 2 /* ret */
            lreturn
        28: .line 331
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 10 /* b7 */
        start local 10 // int b7
        29: .line 332
            lload 2 /* ret */
            iload 10 /* b7 */
            i2l
            ldc 127
            land
            bipush 49
            lshl
            ladd
            lstore 2 /* ret */
        30: .line 333
            iload 10 /* b7 */
            iflt 32
        31: .line 334
            lload 2 /* ret */
            lreturn
        32: .line 336
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 11 /* b8 */
        start local 11 // int b8
        33: .line 337
            lload 2 /* ret */
            iload 11 /* b8 */
            sipush 255
            iand
            i2l
            bipush 56
            lshl
            ladd
            lreturn
        end local 11 // int b8
        end local 10 // int b7
        end local 9 // int b6
        end local 8 // int b5
        end local 7 // int b4
        end local 6 // int b3
        end local 5 // int b2
        end local 4 // int b1
        end local 2 // long ret
        end local 1 // byte b0
        end local 0 // jdk.jfr.internal.consumer.RecordingInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   34     0  this  Ljdk/jfr/internal/consumer/RecordingInput;
            1   34     1    b0  B
            2   34     2   ret  J
            5   34     4    b1  I
            9   34     5    b2  I
           13   34     6    b3  I
           17   34     7    b4  I
           21   34     8    b5  I
           25   34     9    b6  I
           29   34    10    b7  I
           33   34    11    b8  I
    Exceptions:
      throws java.io.IOException
}
SourceFile: "RecordingInput.java"
NestMembers:
  jdk.jfr.internal.consumer.RecordingInput$Block
InnerClasses:
  private final Block = jdk.jfr.internal.consumer.RecordingInput$Block of jdk.jfr.internal.consumer.RecordingInput