public final class jdk.jfr.consumer.RecordingFile implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.RecordingFile
super_class: java.lang.Object
{
private boolean isLastEventInChunk;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.jfr.internal.consumer.RecordingInput input;
descriptor: Ljdk/jfr/internal/consumer/RecordingInput;
flags: (0x0002) ACC_PRIVATE
private jdk.jfr.consumer.ChunkParser chunkParser;
descriptor: Ljdk/jfr/consumer/ChunkParser;
flags: (0x0002) ACC_PRIVATE
private jdk.jfr.consumer.RecordedEvent nextEvent;
descriptor: Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0002) ACC_PRIVATE
private boolean eof;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.jfr.consumer.RecordingFile$1
dup
invokespecial jdk.jfr.consumer.RecordingFile$1.<init>:()V
putstatic jdk.jfr.internal.consumer.RecordingInternals.INSTANCE:Ljdk/jfr/internal/consumer/RecordingInternals;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
putfield jdk.jfr.consumer.RecordingFile.file:Ljava/io/File;
2: aload 0
new jdk.jfr.internal.consumer.RecordingInput
dup
aload 0
getfield jdk.jfr.consumer.RecordingFile.file:Ljava/io/File;
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;)V
putfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
3: aload 0
invokevirtual jdk.jfr.consumer.RecordingFile.findNext:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/consumer/RecordingFile;
0 5 1 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public jdk.jfr.consumer.RecordedEvent readEvent();
descriptor: ()Ljdk/jfr/consumer/RecordedEvent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordingFile.eof:Z
ifeq 3
1: aload 0
invokevirtual jdk.jfr.consumer.RecordingFile.ensureOpen:()V
2: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.jfr.consumer.RecordingFile.isLastEventInChunk:Z
4: aload 0
getfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
astore 1
start local 1 5: aload 0
aload 0
getfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
invokevirtual jdk.jfr.consumer.ChunkParser.readEvent:()Ljdk/jfr/consumer/RecordedEvent;
putfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
6: aload 0
getfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
ifnonnull 9
7: aload 0
iconst_1
putfield jdk.jfr.consumer.RecordingFile.isLastEventInChunk:Z
8: aload 0
invokevirtual jdk.jfr.consumer.RecordingFile.findNext:()V
9: StackMap locals: jdk.jfr.consumer.RecordedEvent
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/consumer/RecordingFile;
5 10 1 event Ljdk/jfr/consumer/RecordedEvent;
Exceptions:
throws java.io.IOException
public boolean hasMoreEvents();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordingFile.eof:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/RecordingFile;
public java.util.List<jdk.jfr.EventType> readEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.consumer.RecordingFile.ensureOpen:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: new jdk.jfr.internal.consumer.RecordingInput
dup
aload 0
getfield jdk.jfr.consumer.RecordingFile.file:Ljava/io/File;
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;)V
astore 5
start local 5 5: new jdk.jfr.internal.consumer.ChunkHeader
dup
aload 5
invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
astore 6
start local 6 6: aload 6
aload 1
aload 2
invokestatic jdk.jfr.consumer.RecordingFile.aggregateEventTypeForChunk:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
7: goto 10
8: StackMap locals: jdk.jfr.consumer.RecordingFile java.util.List java.util.HashSet java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput jdk.jfr.internal.consumer.ChunkHeader
StackMap stack:
aload 6
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.nextHeader:()Ljdk/jfr/internal/consumer/ChunkHeader;
astore 6
9: aload 6
aload 1
aload 2
invokestatic jdk.jfr.consumer.RecordingFile.aggregateEventTypeForChunk:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
10: StackMap locals:
StackMap stack:
aload 6
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isLastChunk:()Z
ifeq 8
end local 6 11: aload 5
ifnull 17
aload 5
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
goto 17
StackMap locals: jdk.jfr.consumer.RecordingFile java.util.List java.util.HashSet java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput
StackMap stack: java.lang.Throwable
12: astore 3
aload 5
ifnull 13
aload 5
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
end local 5 StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
aload 3
ifnonnull 15
aload 4
astore 3
goto 16
StackMap locals:
StackMap stack:
15: aload 3
aload 4
if_acmpeq 16
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 3
athrow
17: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/consumer/RecordingFile;
2 18 1 types Ljava/util/List<Ljdk/jfr/EventType;>;
3 18 2 foundIds Ljava/util/HashSet<Ljava/lang/Long;>;
5 13 5 ri Ljdk/jfr/internal/consumer/RecordingInput;
6 11 6 ch Ljdk/jfr/internal/consumer/ChunkHeader;
Exception table:
from to target type
5 11 12 any
4 14 14 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
java.util.List<jdk.jfr.internal.Type> readTypes();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.consumer.RecordingFile.ensureOpen:()V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: new jdk.jfr.internal.consumer.RecordingInput
dup
aload 0
getfield jdk.jfr.consumer.RecordingFile.file:Ljava/io/File;
invokespecial jdk.jfr.internal.consumer.RecordingInput.<init>:(Ljava/io/File;)V
astore 5
start local 5 5: new jdk.jfr.internal.consumer.ChunkHeader
dup
aload 5
invokespecial jdk.jfr.internal.consumer.ChunkHeader.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
astore 6
start local 6 6: aload 0
aload 6
aload 1
aload 2
invokevirtual jdk.jfr.consumer.RecordingFile.aggregateTypeForChunk:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
7: goto 10
8: StackMap locals: jdk.jfr.consumer.RecordingFile java.util.List java.util.HashSet java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput jdk.jfr.internal.consumer.ChunkHeader
StackMap stack:
aload 6
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.nextHeader:()Ljdk/jfr/internal/consumer/ChunkHeader;
astore 6
9: aload 0
aload 6
aload 1
aload 2
invokevirtual jdk.jfr.consumer.RecordingFile.aggregateTypeForChunk:(Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
10: StackMap locals:
StackMap stack:
aload 6
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.isLastChunk:()Z
ifeq 8
end local 6 11: aload 5
ifnull 17
aload 5
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
goto 17
StackMap locals: jdk.jfr.consumer.RecordingFile java.util.List java.util.HashSet java.lang.Throwable java.lang.Throwable jdk.jfr.internal.consumer.RecordingInput
StackMap stack: java.lang.Throwable
12: astore 3
aload 5
ifnull 13
aload 5
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
end local 5 StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
aload 3
ifnonnull 15
aload 4
astore 3
goto 16
StackMap locals:
StackMap stack:
15: aload 3
aload 4
if_acmpeq 16
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 3
athrow
17: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/jfr/consumer/RecordingFile;
2 18 1 types Ljava/util/List<Ljdk/jfr/internal/Type;>;
3 18 2 foundIds Ljava/util/HashSet<Ljava/lang/Long;>;
5 13 5 ri Ljdk/jfr/internal/consumer/RecordingInput;
6 11 6 ch Ljdk/jfr/internal/consumer/ChunkHeader;
Exception table:
from to target type
5 11 12 any
4 14 14 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/List<Ljdk/jfr/internal/Type;>;
private void aggregateTypeForChunk(jdk.jfr.internal.consumer.ChunkHeader, java.util.List<jdk.jfr.internal.Type>, java.util.HashSet<java.lang.Long>);
descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:()Ljdk/jfr/internal/MetadataDescriptor;
astore 4
start local 4 1: aload 4
invokevirtual jdk.jfr.internal.MetadataDescriptor.getTypes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: jdk.jfr.consumer.RecordingFile jdk.jfr.internal.consumer.ChunkHeader java.util.List java.util.HashSet jdk.jfr.internal.MetadataDescriptor top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.Type
astore 5
start local 5 3: aload 3
aload 5
invokevirtual jdk.jfr.internal.Type.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifne 6
4: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 3
aload 5
invokevirtual jdk.jfr.internal.Type.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/consumer/RecordingFile;
0 8 1 ch Ljdk/jfr/internal/consumer/ChunkHeader;
0 8 2 types Ljava/util/List<Ljdk/jfr/internal/Type;>;
0 8 3 foundIds Ljava/util/HashSet<Ljava/lang/Long;>;
1 8 4 m Ljdk/jfr/internal/MetadataDescriptor;
3 6 5 t Ljdk/jfr/internal/Type;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List<Ljdk/jfr/internal/Type;>;Ljava/util/HashSet<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
ch
types
foundIds
private static void aggregateEventTypeForChunk(jdk.jfr.internal.consumer.ChunkHeader, java.util.List<jdk.jfr.EventType>, java.util.HashSet<java.lang.Long>);
descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List;Ljava/util/HashSet;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.readMetadata:()Ljdk/jfr/internal/MetadataDescriptor;
astore 3
start local 3 1: aload 3
invokevirtual jdk.jfr.internal.MetadataDescriptor.getEventTypes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: jdk.jfr.internal.consumer.ChunkHeader java.util.List java.util.HashSet jdk.jfr.internal.MetadataDescriptor top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.EventType
astore 4
start local 4 3: aload 2
aload 4
invokevirtual jdk.jfr.EventType.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifne 6
4: aload 1
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 2
aload 4
invokevirtual jdk.jfr.EventType.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 ch Ljdk/jfr/internal/consumer/ChunkHeader;
0 8 1 types Ljava/util/List<Ljdk/jfr/EventType;>;
0 8 2 foundIds Ljava/util/HashSet<Ljava/lang/Long;>;
1 8 3 m Ljdk/jfr/internal/MetadataDescriptor;
3 6 4 t Ljdk/jfr/EventType;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/jfr/internal/consumer/ChunkHeader;Ljava/util/List<Ljdk/jfr/EventType;>;Ljava/util/HashSet<Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
ch
types
foundIds
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
ifnull 6
1: aload 0
iconst_1
putfield jdk.jfr.consumer.RecordingFile.eof:Z
2: aload 0
getfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokevirtual jdk.jfr.internal.consumer.RecordingInput.close:()V
3: aload 0
aconst_null
putfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
4: aload 0
aconst_null
putfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
5: aload 0
aconst_null
putfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/consumer/RecordingFile;
Exceptions:
throws java.io.IOException
public static java.util.List<jdk.jfr.consumer.RecordedEvent> readAllEvents(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new jdk.jfr.consumer.RecordingFile
dup
aload 0
invokespecial jdk.jfr.consumer.RecordingFile.<init>:(Ljava/nio/file/Path;)V
astore 3
start local 3 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: goto 5
4: StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable jdk.jfr.consumer.RecordingFile java.util.List
StackMap stack:
aload 4
aload 3
invokevirtual jdk.jfr.consumer.RecordingFile.readEvent:()Ljdk/jfr/consumer/RecordedEvent;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.jfr.consumer.RecordingFile.hasMoreEvents:()Z
ifne 4
6: aload 4
7: aload 3
ifnull 8
aload 3
invokevirtual jdk.jfr.consumer.RecordingFile.close:()V
8: StackMap locals:
StackMap stack: java.util.List
areturn
end local 4 StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable jdk.jfr.consumer.RecordingFile
StackMap stack: java.lang.Throwable
9: astore 1
10: aload 3
ifnull 11
aload 3
invokevirtual jdk.jfr.consumer.RecordingFile.close:()V
end local 3 StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 path Ljava/nio/file/Path;
2 11 3 r Ljdk/jfr/consumer/RecordingFile;
3 9 4 list Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;
Exception table:
from to target type
2 7 9 any
1 8 12 any
9 12 12 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;
MethodParameters:
Name Flags
path
private void findNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: goto 10
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
ifnonnull 4
2: aload 0
new jdk.jfr.consumer.ChunkParser
dup
aload 0
getfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
invokespecial jdk.jfr.consumer.ChunkParser.<init>:(Ljdk/jfr/internal/consumer/RecordingInput;)V
putfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
3: goto 9
StackMap locals:
StackMap stack:
4: aload 0
getfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
invokevirtual jdk.jfr.consumer.ChunkParser.isLastChunk:()Z
ifne 7
5: aload 0
aload 0
getfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
invokevirtual jdk.jfr.consumer.ChunkParser.nextChunkParser:()Ljdk/jfr/consumer/ChunkParser;
putfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.jfr.consumer.RecordingFile.eof:Z
8: return
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.jfr.consumer.RecordingFile.chunkParser:Ljdk/jfr/consumer/ChunkParser;
invokevirtual jdk.jfr.consumer.ChunkParser.readEvent:()Ljdk/jfr/consumer/RecordedEvent;
putfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.RecordingFile.nextEvent:Ljdk/jfr/consumer/RecordedEvent;
ifnull 1
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jfr/consumer/RecordingFile;
Exceptions:
throws java.io.IOException
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordingFile.input:Ljdk/jfr/internal/consumer/RecordingInput;
ifnonnull 2
1: new java.io.IOException
dup
ldc "Stream Closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/RecordingFile;
Exceptions:
throws java.io.IOException
}
SourceFile: "RecordingFile.java"
NestMembers:
jdk.jfr.consumer.RecordingFile$1
InnerClasses:
jdk.jfr.consumer.RecordingFile$1