final class jdk.jfr.internal.consumer.StringParser$CharsetParser extends jdk.jfr.internal.consumer.Parser
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.consumer.StringParser$CharsetParser
  super_class: jdk.jfr.internal.consumer.Parser
{
  private final java.nio.charset.Charset charset;
    descriptor: Ljava/nio/charset/Charset;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int lastSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private byte[] buffer;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String lastString;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  void <init>(java.nio.charset.Charset);
    descriptor: (Ljava/nio/charset/Charset;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
        start local 1 // java.nio.charset.Charset charset
         0: .line 65
            aload 0 /* this */
            invokespecial jdk.jfr.internal.consumer.Parser.<init>:()V
         1: .line 62
            aload 0 /* this */
            bipush 16
            newarray 8
            putfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
         2: .line 66
            aload 0 /* this */
            aload 1 /* charset */
            putfield jdk.jfr.internal.consumer.StringParser$CharsetParser.charset:Ljava/nio/charset/Charset;
         3: .line 67
            return
        end local 1 // java.nio.charset.Charset charset
        end local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljdk/jfr/internal/consumer/StringParser$CharsetParser;
            0    4     1  charset  Ljava/nio/charset/Charset;
    MethodParameters:
         Name  Flags
      charset  

  public java.lang.Object parse(jdk.jfr.internal.consumer.RecordingInput);
    descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
        start local 1 // jdk.jfr.internal.consumer.RecordingInput input
         0: .line 71
            aload 1 /* input */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 72
            aload 0 /* this */
            iload 2 /* size */
            invokevirtual jdk.jfr.internal.consumer.StringParser$CharsetParser.ensureSize:(I)V
         2: .line 73
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.lastSize:I
            iload 2 /* size */
            if_icmpne 14
         3: .line 74
            iconst_1
            istore 3 /* equalsLastString */
        start local 3 // boolean equalsLastString
         4: .line 75
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 11
         6: .line 77
      StackMap locals: int int int
      StackMap stack:
            aload 1 /* input */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            istore 5 /* b */
        start local 5 // byte b
         7: .line 78
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
            iload 4 /* i */
            baload
            iload 5 /* b */
            if_icmpeq 10
         8: .line 79
            iconst_0
            istore 3 /* equalsLastString */
         9: .line 80
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
            iload 4 /* i */
            iload 5 /* b */
            bastore
        end local 5 // byte b
        10: .line 75
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 4 /* i */
            iload 2 /* size */
            if_icmplt 6
        end local 4 // int i
        12: .line 83
            iload 3 /* equalsLastString */
            ifeq 19
        13: .line 84
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.lastString:Ljava/lang/String;
            areturn
        end local 3 // boolean equalsLastString
        14: .line 87
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        15: goto 18
        16: .line 88
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
            iload 3 /* i */
            aload 1 /* input */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
            bastore
        17: .line 87
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        18: iload 3 /* i */
            iload 2 /* size */
            if_icmplt 16
        end local 3 // int i
        19: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.lang.String
            dup
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
            iconst_0
            iload 2 /* size */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.charset:Ljava/nio/charset/Charset;
            invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
            putfield jdk.jfr.internal.consumer.StringParser$CharsetParser.lastString:Ljava/lang/String;
        20: .line 92
            aload 0 /* this */
            iload 2 /* size */
            putfield jdk.jfr.internal.consumer.StringParser$CharsetParser.lastSize:I
        21: .line 93
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.lastString:Ljava/lang/String;
            areturn
        end local 2 // int size
        end local 1 // jdk.jfr.internal.consumer.RecordingInput input
        end local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   22     0              this  Ljdk/jfr/internal/consumer/StringParser$CharsetParser;
            0   22     1             input  Ljdk/jfr/internal/consumer/RecordingInput;
            1   22     2              size  I
            4   14     3  equalsLastString  Z
            5   12     4                 i  I
            7   10     5                 b  B
           15   19     3                 i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  public void skip(jdk.jfr.internal.consumer.RecordingInput);
    descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
        start local 1 // jdk.jfr.internal.consumer.RecordingInput input
         0: .line 98
            aload 1 /* input */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 99
            aload 1 /* input */
            iload 2 /* size */
            invokevirtual jdk.jfr.internal.consumer.RecordingInput.skipBytes:(I)I
            pop
         2: .line 100
            return
        end local 2 // int size
        end local 1 // jdk.jfr.internal.consumer.RecordingInput input
        end local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Ljdk/jfr/internal/consumer/StringParser$CharsetParser;
            0    3     1  input  Ljdk/jfr/internal/consumer/RecordingInput;
            1    3     2   size  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      input  

  private void ensureSize(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
        start local 1 // int size
         0: .line 103
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
            arraylength
            iload 1 /* size */
            if_icmpge 2
         1: .line 104
            aload 0 /* this */
            iload 1 /* size */
            newarray 8
            putfield jdk.jfr.internal.consumer.StringParser$CharsetParser.buffer:[B
         2: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int size
        end local 0 // jdk.jfr.internal.consumer.StringParser$CharsetParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/consumer/StringParser$CharsetParser;
            0    3     1  size  I
    MethodParameters:
      Name  Flags
      size  
}
SourceFile: "StringParser.java"
NestHost: jdk.jfr.internal.consumer.StringParser
InnerClasses:
  private final CharsetParser = jdk.jfr.internal.consumer.StringParser$CharsetParser of jdk.jfr.internal.consumer.StringParser