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: 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: 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 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
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: aload 0
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: aload 0
aload 1
invokevirtual java.io.File.length:()J
putfield jdk.jfr.internal.consumer.RecordingInput.size:J
4: aload 0
iload 2
putfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
5: aload 0
new java.io.RandomAccessFile
dup
aload 1
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: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.size:J
ldc 8
lcmp
ifge 8
7: 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
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: StackMap locals: jdk.jfr.internal.consumer.RecordingInput java.io.File int
StackMap stack:
return
end local 2 end local 1 end local 0 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 start local 1 0: aload 0
aload 1
ldc 16777216
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;I)V
1: return
end local 1 end local 0 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 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
ifne 2
1: aload 0
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
aload 0
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 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 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 1
iload 4
iload 2
iadd
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
bastore
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 3
if_icmplt 2
end local 4 5: return
end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readFully:([BII)V
1: return
end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 1
start local 1 1: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 2
start local 2 2: iload 2
sipush 255
iand
iload 1
bipush 8
ishl
iadd
i2s
ireturn
end local 2 end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readRawLong:()J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readRawInt:()I
invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 1
start local 1 1: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 2
start local 2 2: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 3
start local 3 3: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 4
start local 4 4: iload 4
sipush 255
iand
iload 3
sipush 255
iand
bipush 8
ishl
iadd
iload 2
sipush 255
iand
bipush 16
ishl
iadd
iload 1
bipush 24
ishl
iadd
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 1
start local 1 1: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 2
start local 2 2: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 3
start local 3 3: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 4
start local 4 4: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 5
start local 5 5: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 6
start local 6 6: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 7
start local 7 7: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 8
start local 8 8: iload 8
i2l
ldc 255
land
iload 7
i2l
ldc 255
land
bipush 8
lshl
ladd
iload 6
i2l
ldc 255
land
bipush 16
lshl
ladd
iload 5
i2l
ldc 255
land
bipush 24
lshl
ladd
iload 4
i2l
ldc 255
land
bipush 32
lshl
ladd
iload 3
i2l
ldc 255
land
bipush 40
lshl
ladd
iload 2
i2l
ldc 255
land
bipush 48
lshl
ladd
iload 1
i2l
bipush 56
lshl
ladd
lreturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 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 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
lreturn
end local 0 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 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
lload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
ifne 11
1: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
lload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
ifne 8
2: lload 1
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
lcmp
ifle 4
3: 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
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
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: StackMap locals:
StackMap stack:
aload 0
aload 0
lload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput.calculateBlockStart:(J)J
invokevirtual jdk.jfr.internal.consumer.RecordingInput.trimToFileSize:(J)J
lstore 3
start local 3 5: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
lload 3
invokevirtual java.io.RandomAccessFile.seek:(J)V
6: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
lload 3
lsub
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
i2l
invokestatic java.lang.Math.min:(JJ)J
lstore 5
start local 5 7: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
lload 5
l2i
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.read:(Ljava/io/RandomAccessFile;I)V
end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
astore 3
start local 3 9: aload 0
aload 0
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: aload 0
aload 3
putfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
end local 3 11: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
12: return
end local 1 end local 0 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 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.size:()J
lconst_0
lload 1
invokestatic java.lang.Math.max:(JJ)J
invokestatic java.lang.Math.min:(JJ)J
lreturn
end local 1 end local 0 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 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
lload 1
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
i2l
lsub
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
ifeq 2
1: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
getfield jdk.jfr.internal.consumer.RecordingInput$Block.blockPosition:J
aload 0
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: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
lload 1
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.contains:(J)Z
ifeq 4
3: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
getfield jdk.jfr.internal.consumer.RecordingInput$Block.blockPosition:J
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
i2l
lsub
lreturn
4: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
iconst_2
idiv
i2l
lsub
lreturn
end local 1 end local 0 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 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.size:J
lreturn
end local 0 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 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.close:()V
1: return
end local 0 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 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lstore 2
start local 2 1: aload 0
lload 2
iload 1
i2l
ladd
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:(J)V
2: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.position:()J
lload 2
lsub
l2i
ireturn
end local 2 end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
sipush 255
iand
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readShort:()S
ldc 65535
iand
ireturn
end local 0 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 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 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 0: aload 0
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readEncodedString:(B)Ljava/lang/String;
areturn
end local 0 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 start local 1 0: iload 1
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpne 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readInt:()I
istore 2
start local 2 5: iload 1
iconst_4
if_icmpne 13
6: iload 2
newarray 5
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 11
9: StackMap locals: int char[] int
StackMap stack:
aload 3
iload 4
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readChar:()C
castore
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 2
if_icmplt 9
end local 4 12: new java.lang.String
dup
aload 3
invokespecial java.lang.String.<init>:([C)V
areturn
end local 3 13: StackMap locals:
StackMap stack:
iload 2
newarray 8
astore 3
start local 3 14: aload 0
aload 3
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readFully:([B)V
15: iload 1
iconst_3
if_icmpne 17
16: new java.lang.String
dup
aload 3
getstatic jdk.jfr.internal.consumer.RecordingInput.UTF8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
17: StackMap locals: byte[]
StackMap stack:
iload 1
iconst_5
if_icmpne 19
18: new java.lang.String
dup
aload 3
getstatic jdk.jfr.internal.consumer.RecordingInput.LATIN1:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
19: 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
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 end local 2 end local 1 end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
l2i
i2c
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
l2i
i2s
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
l2i
ireturn
end local 0 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 0: aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 1
start local 1 1: iload 1
i2l
ldc 127
land
lstore 2
start local 2 2: iload 1
iflt 4
3: lload 2
lreturn
4: StackMap locals: int long
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 4
start local 4 5: lload 2
iload 4
i2l
ldc 127
land
bipush 7
lshl
ladd
lstore 2
6: iload 4
iflt 8
7: lload 2
lreturn
8: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 5
start local 5 9: lload 2
iload 5
i2l
ldc 127
land
bipush 14
lshl
ladd
lstore 2
10: iload 5
iflt 12
11: lload 2
lreturn
12: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 6
start local 6 13: lload 2
iload 6
i2l
ldc 127
land
bipush 21
lshl
ladd
lstore 2
14: iload 6
iflt 16
15: lload 2
lreturn
16: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 7
start local 7 17: lload 2
iload 7
i2l
ldc 127
land
bipush 28
lshl
ladd
lstore 2
18: iload 7
iflt 20
19: lload 2
lreturn
20: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 8
start local 8 21: lload 2
iload 8
i2l
ldc 127
land
bipush 35
lshl
ladd
lstore 2
22: iload 8
iflt 24
23: lload 2
lreturn
24: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 9
start local 9 25: lload 2
iload 9
i2l
ldc 127
land
bipush 42
lshl
ladd
lstore 2
26: iload 9
iflt 28
27: lload 2
lreturn
28: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 10
start local 10 29: lload 2
iload 10
i2l
ldc 127
land
bipush 49
lshl
ladd
lstore 2
30: iload 10
iflt 32
31: lload 2
lreturn
32: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 11
start local 11 33: lload 2
iload 11
sipush 255
iand
i2l
bipush 56
lshl
ladd
lreturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 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