final class jdk.management.jfr.Stream implements java.io.Closeable
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.management.jfr.Stream
  super_class: java.lang.Object
{
  private final long identifier;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final byte[] buffer;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile long time;
    descriptor: J
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(java.io.InputStream, long, int);
    descriptor: (Ljava/io/InputStream;JI)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // jdk.management.jfr.Stream this
        start local 1 // java.io.InputStream is
        start local 2 // long identifier
        start local 4 // int blockSize
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 42
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 1 /* is */
            ldc 50000
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
            putfield jdk.management.jfr.Stream.inputStream:Ljava/io/BufferedInputStream;
         2: .line 43
            aload 0 /* this */
            lload 2 /* identifier */
            putfield jdk.management.jfr.Stream.identifier:J
         3: .line 44
            aload 0 /* this */
            iload 4 /* blockSize */
            newarray 8
            putfield jdk.management.jfr.Stream.buffer:[B
         4: .line 45
            return
        end local 4 // int blockSize
        end local 2 // long identifier
        end local 1 // java.io.InputStream is
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Ljdk/management/jfr/Stream;
            0    5     1          is  Ljava/io/InputStream;
            0    5     2  identifier  J
            0    5     4   blockSize  I
    MethodParameters:
            Name  Flags
      is          
      identifier  
      blockSize   

  private void touch();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.management.jfr.Stream this
         0: .line 48
            aload 0 /* this */
            invokestatic java.lang.System.currentTimeMillis:()J
            putfield jdk.management.jfr.Stream.time:J
         1: .line 49
            return
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/management/jfr/Stream;

  public long getLastTouched();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.management.jfr.Stream this
         0: .line 52
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.time:J
            lreturn
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/management/jfr/Stream;

  public byte[] read();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // jdk.management.jfr.Stream this
         0: .line 58
            aload 0 /* this */
            invokevirtual jdk.management.jfr.Stream.touch:()V
         1: .line 59
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.inputStream:Ljava/io/BufferedInputStream;
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.buffer:[B
            invokevirtual java.io.BufferedInputStream.read:([B)I
            istore 1 /* read */
        start local 1 // int read
         2: .line 60
            iload 1 /* read */
            iconst_m1
            if_icmpne 4
         3: .line 62
            aconst_null
            areturn
         4: .line 64
      StackMap locals: int
      StackMap stack:
            iload 1 /* read */
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.buffer:[B
            arraylength
            if_icmpeq 8
         5: .line 65
            iload 1 /* read */
            newarray 8
            astore 2 /* smallerBuffer */
        start local 2 // byte[] smallerBuffer
         6: .line 66
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.buffer:[B
            iconst_0
            aload 2 /* smallerBuffer */
            iconst_0
            iload 1 /* read */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 67
            aload 2 /* smallerBuffer */
            areturn
        end local 2 // byte[] smallerBuffer
         8: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.buffer:[B
            areturn
        end local 1 // int read
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Ljdk/management/jfr/Stream;
            2    9     1           read  I
            6    8     2  smallerBuffer  [B
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.management.jfr.Stream this
         0: .line 75
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.inputStream:Ljava/io/BufferedInputStream;
            invokevirtual java.io.BufferedInputStream.close:()V
         1: .line 76
            return
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/management/jfr/Stream;
    Exceptions:
      throws java.io.IOException

  public long getId();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.management.jfr.Stream this
         0: .line 79
            aload 0 /* this */
            getfield jdk.management.jfr.Stream.identifier:J
            lreturn
        end local 0 // jdk.management.jfr.Stream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/management/jfr/Stream;
}
SourceFile: "Stream.java"