final class jdk.jfr.consumer.ChunkParser
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.consumer.ChunkParser
  super_class: java.lang.Object
{
  private static final long CONSTANT_POOL_TYPE_ID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private final jdk.jfr.internal.consumer.RecordingInput input;
    descriptor: Ljdk/jfr/internal/consumer/RecordingInput;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jfr.consumer.LongMap<jdk.jfr.consumer.Parser> parsers;
    descriptor: Ljdk/jfr/consumer/LongMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;

  private final jdk.jfr.internal.consumer.ChunkHeader chunkHeader;
    descriptor: Ljdk/jfr/internal/consumer/ChunkHeader;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final jdk.jfr.internal.MetadataDescriptor metadata;
    descriptor: Ljdk/jfr/internal/MetadataDescriptor;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jfr.consumer.LongMap<jdk.jfr.internal.Type> typeMap;
    descriptor: Ljdk/jfr/consumer/LongMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljdk/jfr/consumer/LongMap<Ljdk/jfr/internal/Type;>;

  private final jdk.jfr.consumer.TimeConverter timeConverter;
    descriptor: Ljdk/jfr/consumer/TimeConverter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(jdk.jfr.internal.consumer.RecordingInput);
    descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // jdk.jfr.consumer.ChunkParser this
        start local 1 // jdk.jfr.internal.consumer.RecordingInput input
         0: .line 56
            aload 0 /* this */
            new jdk.jfr.internal.consumer.ChunkHeader
            dup
            aload 1 /* input */
            invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
            invokespecial jdk.jfr.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;)V
         1: .line 57
            return
        end local 1 // jdk.jfr.internal.consumer.RecordingInput input
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/jfr/consumer/ChunkParser;
            0    2     1  input  Ljdk/jfr/internal/consumer/RecordingInput;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  private void <init>(jdk.jfr.internal.consumer.ChunkHeader);
    descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.consumer.ChunkParser this
        start local 1 // jdk.jfr.internal.consumer.ChunkHeader header
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 60
            aload 0 /* this */
            aload 1 /* header */
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getInput:()Ljdk/jfr/internal/consumer/RecordingInput;
            putfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
         2: .line 61
            aload 0 /* this */
            aload 1 /* header */
            putfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
         3: .line 62
            aload 0 /* this */
            aload 1 /* header */
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:()Ljdk/jfr/internal/MetadataDescriptor;
            putfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
         4: .line 63
            aload 0 /* this */
            aload 1 /* header */
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEnd:()J
            putfield jdk.jfr.consumer.ChunkParser.absoluteChunkEnd:J
         5: .line 64
            aload 0 /* this */
            new jdk.jfr.consumer.TimeConverter
            dup
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
            invokevirtual jdk.jfr.internal.MetadataDescriptor.getGMTOffset:()I
            invokespecial jdk.jfr.consumer.TimeConverter.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;I)V
            putfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
         6: .line 66
            new jdk.jfr.consumer.ParserFactory
            dup
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
            invokespecial jdk.jfr.consumer.ParserFactory.<init>:(Ljdk/jfr/internal/MetadataDescriptor;Ljdk/jfr/consumer/TimeConverter;)V
            astore 2 /* factory */
        start local 2 // jdk.jfr.consumer.ParserFactory factory
         7: .line 67
            aload 2 /* factory */
            invokevirtual jdk.jfr.consumer.ParserFactory.getConstantPools:()Ljdk/jfr/consumer/LongMap;
            astore 3 /* constantPools */
        start local 3 // jdk.jfr.consumer.LongMap constantPools
         8: .line 68
            aload 0 /* this */
            aload 2 /* factory */
            invokevirtual jdk.jfr.consumer.ParserFactory.getParsers:()Ljdk/jfr/consumer/LongMap;
            putfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
         9: .line 69
            aload 0 /* this */
            aload 2 /* factory */
            invokevirtual jdk.jfr.consumer.ParserFactory.getTypeMap:()Ljdk/jfr/consumer/LongMap;
            putfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
        10: .line 71
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
            aload 3 /* constantPools */
            invokevirtual jdk.jfr.consumer.ChunkParser.fillConstantPools:(Ljdk/jfr/consumer/LongMap;Ljdk/jfr/consumer/LongMap;)V
        11: .line 72
            aload 3 /* constantPools */
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jfr/consumer/ConstantMap.setIsResolving()V (5)
                  (Ljdk/jfr/consumer/ConstantMap;)V
            invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
        12: .line 73
            aload 3 /* constantPools */
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jfr/consumer/ConstantMap.resolve()V (5)
                  (Ljdk/jfr/consumer/ConstantMap;)V
            invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
        13: .line 74
            aload 3 /* constantPools */
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/jfr/consumer/ConstantMap.setResolved()V (5)
                  (Ljdk/jfr/consumer/ConstantMap;)V
            invokevirtual jdk.jfr.consumer.LongMap.forEach:(Ljava/util/function/Consumer;)V
        14: .line 76
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getEventStart:()J
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
        15: .line 77
            return
        end local 3 // jdk.jfr.consumer.LongMap constantPools
        end local 2 // jdk.jfr.consumer.ParserFactory factory
        end local 1 // jdk.jfr.internal.consumer.ChunkHeader header
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   16     0           this  Ljdk/jfr/consumer/ChunkParser;
            0   16     1         header  Ljdk/jfr/internal/consumer/ChunkHeader;
            7   16     2        factory  Ljdk/jfr/consumer/ParserFactory;
            8   16     3  constantPools  Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      header  

  public jdk.jfr.consumer.RecordedEvent readEvent();
    descriptor: ()Ljdk/jfr/consumer/RecordedEvent;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 80
            goto 11
         1: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            lstore 1 /* pos */
        start local 1 // long pos
         2: .line 82
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 3 /* size */
        start local 3 // int size
         3: .line 83
            iload 3 /* size */
            ifne 5
         4: .line 84
            new java.io.IOException
            dup
            ldc "Event can't have zero size"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 86
      StackMap locals: long int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            lstore 4 /* typeId */
        start local 4 // long typeId
         6: .line 87
            lload 4 /* typeId */
            lconst_1
            lcmp
            ifle 10
         7: .line 88
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.parsers:Ljdk/jfr/consumer/LongMap;
            lload 4 /* typeId */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast jdk.jfr.consumer.Parser
            astore 6 /* ep */
        start local 6 // jdk.jfr.consumer.Parser ep
         8: .line 89
            aload 6 /* ep */
            instanceof jdk.jfr.consumer.EventParser
            ifeq 10
         9: .line 90
            aload 6 /* ep */
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
            checkcast jdk.jfr.consumer.RecordedEvent
            areturn
        end local 6 // jdk.jfr.consumer.Parser ep
        10: .line 93
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            lload 1 /* pos */
            iload 3 /* size */
            i2l
            ladd
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
        end local 4 // long typeId
        end local 3 // int size
        end local 1 // long pos
        11: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.absoluteChunkEnd:J
            lcmp
            iflt 1
        12: .line 95
            aconst_null
            areturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   13     0    this  Ljdk/jfr/consumer/ChunkParser;
            2   11     1     pos  J
            3   11     3    size  I
            6   11     4  typeId  J
            8   10     6      ep  Ljdk/jfr/consumer/Parser;
    Exceptions:
      throws java.io.IOException

  private void fillConstantPools(jdk.jfr.consumer.LongMap<jdk.jfr.consumer.Parser>, jdk.jfr.consumer.LongMap<jdk.jfr.consumer.ConstantMap>);
    descriptor: (Ljdk/jfr/consumer/LongMap;Ljdk/jfr/consumer/LongMap;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=27, args_size=3
        start local 0 // jdk.jfr.consumer.ChunkParser this
        start local 1 // jdk.jfr.consumer.LongMap typeParser
        start local 2 // jdk.jfr.consumer.LongMap constantPools
         0: .line 99
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getAbsoluteChunkStart:()J
            lstore 3 /* nextCP */
        start local 3 // long nextCP
         1: .line 100
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getConstantPoolPosition:()J
            lstore 5 /* deltaToNext */
        start local 5 // long deltaToNext
         2: .line 101
            goto 47
         3: .line 102
      StackMap locals: long long
      StackMap stack:
            lload 3 /* nextCP */
            lload 5 /* deltaToNext */
            ladd
            lstore 3 /* nextCP */
         4: .line 103
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            lload 3 /* nextCP */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
         5: .line 104
            lload 3 /* nextCP */
            lstore 7 /* position */
        start local 7 // long position
         6: .line 105
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 9 /* size */
        start local 9 // int size
         7: .line 106
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            lstore 10 /* typeId */
        start local 10 // long typeId
         8: .line 107
            lload 10 /* typeId */
            lconst_1
            lcmp
            ifeq 10
         9: .line 108
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Expected check point event (id = 1) at position "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 3 /* nextCP */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", but found type id = "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 10 /* typeId */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 110
      StackMap locals: long int long
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            pop2
        11: .line 111
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            pop2
        12: .line 112
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            lstore 5 /* deltaToNext */
        13: .line 113
            lload 5 /* deltaToNext */
            lstore 12 /* delta */
        start local 12 // long delta
        14: .line 114
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readBoolean:()Z
            istore 14 /* flush */
        start local 14 // boolean flush
        15: .line 115
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 15 /* poolCount */
        start local 15 // int poolCount
        16: .line 116
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
            lload 7 /* position */
            iload 9 /* size */
            lload 12 /* delta */
            iload 14 /* flush */
            iload 15 /* poolCount */
            invokedynamic get(JIJZI)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/jfr/consumer/ChunkParser.lambda$3(JIJZI)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
        17: .line 120
            iconst_0
            istore 16 /* i */
        start local 16 // int i
        18: goto 44
        19: .line 121
      StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            lstore 17 /* id */
        start local 17 // long id
        20: .line 122
            aload 2 /* constantPools */
            lload 17 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast jdk.jfr.consumer.ConstantMap
            astore 19 /* pool */
        start local 19 // jdk.jfr.consumer.ConstantMap pool
        21: .line 123
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
            lload 17 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast jdk.jfr.internal.Type
            astore 20 /* type */
        start local 20 // jdk.jfr.internal.Type type
        22: .line 124
            aload 19 /* pool */
            ifnonnull 28
        23: .line 125
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
            new java.lang.StringBuilder
            dup
            ldc "Found constant pool("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 17 /* id */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ") that is never used"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
        24: .line 126
            aload 20 /* type */
            ifnonnull 26
        25: .line 127
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Error parsing constant pool type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            lload 17 /* id */
            invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " at position "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " at check point between ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 3 /* nextCP */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 3 /* nextCP */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            iload 9 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            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
        26: .line 129
      StackMap locals: long jdk.jfr.consumer.ConstantMap jdk.jfr.internal.Type
      StackMap stack:
            new jdk.jfr.consumer.ConstantMap
            dup
            aload 20 /* type */
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.timeConverter:Ljdk/jfr/consumer/TimeConverter;
            invokestatic jdk.jfr.consumer.ObjectFactory.create:(Ljdk/jfr/internal/Type;Ljdk/jfr/consumer/TimeConverter;)Ljdk/jfr/consumer/ObjectFactory;
            aload 20 /* type */
            invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
            invokespecial jdk.jfr.consumer.ConstantMap.<init>:(Ljdk/jfr/consumer/ObjectFactory;Ljava/lang/String;)V
            astore 19 /* pool */
        27: .line 130
            aload 2 /* constantPools */
            aload 20 /* type */
            invokevirtual jdk.jfr.internal.Type.getId:()J
            aload 19 /* pool */
            invokevirtual jdk.jfr.consumer.LongMap.put:(JLjava/lang/Object;)V
        28: .line 132
      StackMap locals:
      StackMap stack:
            aload 1 /* typeParser */
            lload 17 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast jdk.jfr.consumer.Parser
            astore 21 /* parser */
        start local 21 // jdk.jfr.consumer.Parser parser
        29: .line 133
            aload 21 /* parser */
            ifnonnull 31
        30: .line 134
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Could not find constant pool type with id = "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 17 /* id */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        31: .line 137
      StackMap locals: jdk.jfr.consumer.Parser
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 22 /* count */
        start local 22 // int count
        32: .line 138
            getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
            getstatic jdk.jfr.internal.LogLevel.TRACE:Ljdk/jfr/internal/LogLevel;
            aload 0 /* this */
            lload 17 /* id */
            iload 22 /* count */
            invokedynamic get(Ljdk/jfr/consumer/ChunkParser;JI)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/jfr/consumer/ChunkParser.lambda$4(JI)Ljava/lang/String; (7)
                  ()Ljava/lang/String;
            invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/util/function/Supplier;)V
        33: .line 139
            iconst_0
            istore 23 /* j */
        start local 23 // int j
        34: goto 39
        35: .line 140
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
            lstore 24 /* key */
        start local 24 // long key
        36: .line 141
            aload 21 /* parser */
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.consumer.Parser.parse:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
            astore 26 /* value */
        start local 26 // java.lang.Object value
        37: .line 142
            aload 19 /* pool */
            lload 24 /* key */
            aload 26 /* value */
            invokevirtual jdk.jfr.consumer.ConstantMap.put:(JLjava/lang/Object;)V
        end local 26 // java.lang.Object value
        end local 24 // long key
        38: .line 139
            iinc 23 /* j */ 1
      StackMap locals:
      StackMap stack:
        39: iload 23 /* j */
            iload 22 /* count */
            if_icmplt 35
        end local 23 // int j
        end local 22 // int count
        40: .line 144
            goto 43
      StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int long jdk.jfr.consumer.ConstantMap jdk.jfr.internal.Type jdk.jfr.consumer.Parser
      StackMap stack: java.lang.Exception
        41: astore 22 /* e */
        start local 22 // java.lang.Exception e
        42: .line 145
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Error parsing constant pool type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            lload 17 /* id */
            invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " at position "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " at check point between ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 3 /* nextCP */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 3 /* nextCP */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            iload 9 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 22 /* e */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 22 // java.lang.Exception e
        end local 21 // jdk.jfr.consumer.Parser parser
        end local 20 // jdk.jfr.internal.Type type
        end local 19 // jdk.jfr.consumer.ConstantMap pool
        end local 17 // long id
        43: .line 120
      StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long long int long long int int int
      StackMap stack:
            iinc 16 /* i */ 1
      StackMap locals:
      StackMap stack:
        44: iload 16 /* i */
            iload 15 /* poolCount */
            if_icmplt 19
        end local 16 // int i
        45: .line 148
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.input:Ljdk/jfr/internal/consumer/RecordingInput;
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
            lload 3 /* nextCP */
            iload 9 /* size */
            i2l
            ladd
            lcmp
            ifeq 47
        46: .line 149
            new java.io.IOException
            dup
            ldc "Size of check point event doesn't match content"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 15 // int poolCount
        end local 14 // boolean flush
        end local 12 // long delta
        end local 10 // long typeId
        end local 9 // int size
        end local 7 // long position
        47: .line 101
      StackMap locals: jdk.jfr.consumer.ChunkParser jdk.jfr.consumer.LongMap jdk.jfr.consumer.LongMap long long
      StackMap stack:
            lload 5 /* deltaToNext */
            lconst_0
            lcmp
            ifne 3
        48: .line 152
            return
        end local 5 // long deltaToNext
        end local 3 // long nextCP
        end local 2 // jdk.jfr.consumer.LongMap constantPools
        end local 1 // jdk.jfr.consumer.LongMap typeParser
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   49     0           this  Ljdk/jfr/consumer/ChunkParser;
            0   49     1     typeParser  Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;
            0   49     2  constantPools  Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;
            1   49     3         nextCP  J
            2   49     5    deltaToNext  J
            6   47     7       position  J
            7   47     9           size  I
            8   47    10         typeId  J
           14   47    12          delta  J
           15   47    14          flush  Z
           16   47    15      poolCount  I
           18   45    16              i  I
           20   43    17             id  J
           21   43    19           pool  Ljdk/jfr/consumer/ConstantMap;
           22   43    20           type  Ljdk/jfr/internal/Type;
           29   43    21         parser  Ljdk/jfr/consumer/Parser;
           32   40    22          count  I
           34   40    23              j  I
           36   38    24            key  J
           37   38    26          value  Ljava/lang/Object;
           42   43    22              e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          31    40      41  Class java.lang.Exception
    Exceptions:
      throws java.io.IOException
    Signature: (Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/Parser;>;Ljdk/jfr/consumer/LongMap<Ljdk/jfr/consumer/ConstantMap;>;)V
    MethodParameters:
               Name  Flags
      typeParser     
      constantPools  

  private java.lang.String getName(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.jfr.consumer.ChunkParser this
        start local 1 // long id
         0: .line 155
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.typeMap:Ljdk/jfr/consumer/LongMap;
            lload 1 /* id */
            invokevirtual jdk.jfr.consumer.LongMap.get:(J)Ljava/lang/Object;
            checkcast jdk.jfr.internal.Type
            astore 3 /* type */
        start local 3 // jdk.jfr.internal.Type type
         1: .line 156
            aload 3 /* type */
            ifnonnull 2
            new java.lang.StringBuilder
            dup
            ldc "unknown("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 1 /* id */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            goto 3
      StackMap locals: jdk.jfr.internal.Type
      StackMap stack:
         2: aload 3 /* type */
            invokevirtual jdk.jfr.internal.Type.getName:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         3: areturn
        end local 3 // jdk.jfr.internal.Type type
        end local 1 // long id
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/consumer/ChunkParser;
            0    4     1    id  J
            1    4     3  type  Ljdk/jfr/internal/Type;
    MethodParameters:
      Name  Flags
      id    

  public java.util.Collection<jdk.jfr.internal.Type> getTypes();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 160
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
            invokevirtual jdk.jfr.internal.MetadataDescriptor.getTypes:()Ljava/util/Collection;
            areturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ChunkParser;
    Signature: ()Ljava/util/Collection<Ljdk/jfr/internal/Type;>;

  public java.util.List<jdk.jfr.EventType> getEventTypes();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 164
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.metadata:Ljdk/jfr/internal/MetadataDescriptor;
            invokevirtual jdk.jfr.internal.MetadataDescriptor.getEventTypes:()Ljava/util/List;
            areturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ChunkParser;
    Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;

  public boolean isLastChunk();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 168
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isLastChunk:()Z
            ireturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ChunkParser;

  public jdk.jfr.consumer.ChunkParser nextChunkParser();
    descriptor: ()Ljdk/jfr/consumer/ChunkParser;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 172
            new jdk.jfr.consumer.ChunkParser
            dup
            aload 0 /* this */
            getfield jdk.jfr.consumer.ChunkParser.chunkHeader:Ljdk/jfr/internal/consumer/ChunkHeader;
            invokevirtual jdk.jfr.internal.consumer.ChunkHeader.nextHeader:()Ljdk/jfr/internal/consumer/ChunkHeader;
            invokespecial jdk.jfr.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/ChunkHeader;)V
            areturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ChunkParser;
    Exceptions:
      throws java.io.IOException

  private static java.lang.String lambda$3(long, int, long, boolean, int);
    descriptor: (JIJZI)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=7, args_size=5
         0: .line 117
            new java.lang.StringBuilder
            dup
            ldc "New constant pool: startPosition="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 0
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", size="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", deltaToNext="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 3
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc ", flush="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 5
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            ldc ", poolCount="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 6
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private java.lang.String lambda$4(long, int);
    descriptor: (JI)Ljava/lang/String;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // jdk.jfr.consumer.ChunkParser this
         0: .line 138
            new java.lang.StringBuilder
            dup
            ldc "Constant: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            lload 1
            invokevirtual jdk.jfr.consumer.ChunkParser.getName:(J)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 3
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // jdk.jfr.consumer.ChunkParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jfr/consumer/ChunkParser;
}
SourceFile: "ChunkParser.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles