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
{
private static final int DEFAULT_BLOCK_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64000
private final int blockSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.consumer.FileAccess fileAccess;
descriptor: Ljdk/jfr/internal/consumer/FileAccess;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.RandomAccessFile file;
descriptor: Ljava/io/RandomAccessFile;
flags: (0x0002) ACC_PRIVATE
private java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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 long size;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.File, jdk.jfr.internal.consumer.FileAccess, int);
descriptor: (Ljava/io/File;Ljdk/jfr/internal/consumer/FileAccess;I)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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
ldc -1
putfield jdk.jfr.internal.consumer.RecordingInput.size:J
4: aload 0
iload 3
putfield jdk.jfr.internal.consumer.RecordingInput.blockSize:I
5: aload 0
aload 2
putfield jdk.jfr.internal.consumer.RecordingInput.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
6: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput.initialize:(Ljava/io/File;)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/consumer/RecordingInput;
0 8 1 f Ljava/io/File;
0 8 2 fileAccess Ljdk/jfr/internal/consumer/FileAccess;
0 8 3 blockSize I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
fileAccess
blockSize
private void initialize(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 1
invokevirtual jdk.jfr.internal.consumer.FileAccess.getAbsolutePath:(Ljava/io/File;)Ljava/lang/String;
putfield jdk.jfr.internal.consumer.RecordingInput.filename:Ljava/lang/String;
1: aload 0
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 1
ldc "r"
invokevirtual jdk.jfr.internal.consumer.FileAccess.openRAF:(Ljava/io/File;Ljava/lang/String;)Ljava/io/RandomAccessFile;
putfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
2: aload 0
lconst_0
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
3: aload 0
ldc -1
putfield jdk.jfr.internal.consumer.RecordingInput.size:J
4: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.reset:()V
5: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.previousBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
invokevirtual jdk.jfr.internal.consumer.RecordingInput$Block.reset:()V
6: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 1
invokevirtual jdk.jfr.internal.consumer.FileAccess.length:(Ljava/io/File;)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.fileAccess:Ljdk/jfr/internal/consumer/FileAccess;
aload 1
invokevirtual jdk.jfr.internal.consumer.FileAccess.length:(Ljava/io/File;)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:
StackMap stack:
return
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;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public void <init>(java.io.File, jdk.jfr.internal.consumer.FileAccess);
descriptor: (Ljava/io/File;Ljdk/jfr/internal/consumer/FileAccess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc 64000
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;Ljdk/jfr/internal/consumer/FileAccess;I)V
1: return
end local 2 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;
0 2 2 fileAccess Ljdk/jfr/internal/consumer/FileAccess;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
fileAccess
void positionPhysical(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
lload 1
invokevirtual java.io.RandomAccessFile.seek:(J)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 position J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
byte readPhysicalByte();
descriptor: ()B
flags: (0x0000)
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.readByte:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/RecordingInput;
Exceptions:
throws java.io.IOException
long readPhysicalLong();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, 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.readLong:()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 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
short readRawShort();
descriptor: ()S
flags: (0x0000)
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 double readDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
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 float readFloat();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
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
int readRawInt();
descriptor: ()I
flags: (0x0000)
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
long readRawLong();
descriptor: ()J
flags: (0x0000)
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;
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
getfield 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
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.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
getfield 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
long size();
descriptor: ()J
flags: (0x0000)
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;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.io.RandomAccessFile.close:()V
3: StackMap locals: java.io.RandomAccessFile
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/consumer/RecordingInput;
1 4 1 ra Ljava/io/RandomAccessFile;
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=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Use StringParser"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)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 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=14, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
getfield jdk.jfr.internal.consumer.RecordingInput$Block.bytes:[B
astore 1
start local 1 1: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.currentBlock:Ljdk/jfr/internal/consumer/RecordingInput$Block;
getfield jdk.jfr.internal.consumer.RecordingInput$Block.blockPosition:J
lsub
l2i
istore 2
start local 2 2: iload 2
bipush 8
iadd
aload 1
arraylength
if_icmpge 46
iload 2
iflt 46
3: aload 1
iload 2
baload
istore 3
start local 3 4: iload 3
i2l
ldc 127
land
lstore 4
start local 4 5: iload 3
iflt 8
6: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
lconst_1
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
7: lload 4
lreturn
8: StackMap locals: jdk.jfr.internal.consumer.RecordingInput byte[] int int long
StackMap stack:
aload 1
iload 2
iconst_1
iadd
baload
istore 6
start local 6 9: lload 4
iload 6
i2l
ldc 127
land
bipush 7
lshl
ladd
lstore 4
10: iload 6
iflt 13
11: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 2
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
12: lload 4
lreturn
13: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_2
iadd
baload
istore 7
start local 7 14: lload 4
iload 7
i2l
ldc 127
land
bipush 14
lshl
ladd
lstore 4
15: iload 7
iflt 18
16: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 3
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
17: lload 4
lreturn
18: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_3
iadd
baload
istore 8
start local 8 19: lload 4
iload 8
i2l
ldc 127
land
bipush 21
lshl
ladd
lstore 4
20: iload 8
iflt 23
21: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 4
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
22: lload 4
lreturn
23: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_4
iadd
baload
istore 9
start local 9 24: lload 4
iload 9
i2l
ldc 127
land
bipush 28
lshl
ladd
lstore 4
25: iload 9
iflt 28
26: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 5
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
27: lload 4
lreturn
28: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_5
iadd
baload
istore 10
start local 10 29: lload 4
iload 10
i2l
ldc 127
land
bipush 35
lshl
ladd
lstore 4
30: iload 10
iflt 33
31: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 6
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
32: lload 4
lreturn
33: StackMap locals: int
StackMap stack:
aload 1
iload 2
bipush 6
iadd
baload
istore 11
start local 11 34: lload 4
iload 11
i2l
ldc 127
land
bipush 42
lshl
ladd
lstore 4
35: iload 11
iflt 38
36: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 7
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
37: lload 4
lreturn
38: StackMap locals: int
StackMap stack:
aload 1
iload 2
bipush 7
iadd
baload
istore 12
start local 12 39: lload 4
iload 12
i2l
ldc 127
land
bipush 49
lshl
ladd
lstore 4
40: iload 12
iflt 43
41: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 8
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
42: lload 4
lreturn
43: StackMap locals: int
StackMap stack:
aload 1
iload 2
bipush 8
iadd
baload
istore 13
start local 13 44: aload 0
dup
getfield jdk.jfr.internal.consumer.RecordingInput.position:J
ldc 9
ladd
putfield jdk.jfr.internal.consumer.RecordingInput.position:J
45: lload 4
iload 13
sipush 255
iand
i2l
bipush 56
lshl
ladd
lreturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 46: StackMap locals: jdk.jfr.internal.consumer.RecordingInput byte[] int
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLongSlow:()J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljdk/jfr/internal/consumer/RecordingInput;
1 47 1 bytes [B
2 47 2 index I
4 46 3 b0 B
5 46 4 ret J
9 46 6 b1 I
14 46 7 b2 I
19 46 8 b3 I
24 46 9 b4 I
29 46 10 b5 I
34 46 11 b6 I
39 46 12 b7 I
44 46 13 b8 I
Exceptions:
throws java.io.IOException
private long readLongSlow();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
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
public void setValidSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.size:J
lcmp
ifle 2
1: aload 0
lload 1
putfield jdk.jfr.internal.consumer.RecordingInput.size:J
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/consumer/RecordingInput;
0 3 1 size J
MethodParameters:
Name Flags
size
public long getFileSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.length:()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 java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/RecordingInput;
public void setFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.close:()V
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield jdk.jfr.internal.consumer.RecordingInput.file:Ljava/io/RandomAccessFile;
4: aload 0
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.initialize:(Ljava/io/File;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/consumer/RecordingInput;
0 6 1 path Ljava/nio/file/Path;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
}
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