public final class jdk.jfr.internal.consumer.FinishedStream extends jdk.jfr.internal.management.EventByteStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.FinishedStream
super_class: jdk.jfr.internal.management.EventByteStream
{
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
public void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.jfr.internal.management.EventByteStream.<init>:()V
1: aload 0
new java.io.BufferedInputStream
dup
aload 1
ldc 50000
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
putfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
2: aload 0
iload 2
newarray 8
putfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/FinishedStream;
0 4 1 is Ljava/io/InputStream;
0 4 2 blockSize I
MethodParameters:
Name Flags
is
blockSize
public synchronized byte[] read();
descriptor: ()[B
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.internal.consumer.FinishedStream.touch:()V
1: aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
invokevirtual java.io.BufferedInputStream.read:([B)I
istore 1
start local 1 2: iload 1
iconst_m1
if_icmpne 4
3: aconst_null
areturn
4: StackMap locals: int
StackMap stack:
iload 1
aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
arraylength
if_icmpeq 8
5: iload 1
newarray 8
astore 2
start local 2 6: aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 2
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/consumer/FinishedStream;
2 9 1 read I
6 8 2 smallerBuffer [B
Exceptions:
throws java.io.IOException
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
invokevirtual java.io.BufferedInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/consumer/FinishedStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "FinishedStream.java"