public final class jdk.jfr.FlightRecorder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.FlightRecorder
super_class: java.lang.Object
{
private static volatile jdk.jfr.FlightRecorder platformRecorder;
descriptor: Ljdk/jfr/FlightRecorder;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile boolean initialized;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private final jdk.jfr.internal.PlatformRecorder internal;
descriptor: Ljdk/jfr/internal/PlatformRecorder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(jdk.jfr.internal.PlatformRecorder);
descriptor: (Ljdk/jfr/internal/PlatformRecorder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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
putfield jdk.jfr.FlightRecorder.internal:Ljdk/jfr/internal/PlatformRecorder;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/FlightRecorder;
0 3 1 internal Ljdk/jfr/internal/PlatformRecorder;
MethodParameters:
Name Flags
internal
public java.util.List<jdk.jfr.Recording> getRecordings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.jfr.FlightRecorder.internal:Ljdk/jfr/internal/PlatformRecorder;
invokevirtual jdk.jfr.internal.PlatformRecorder.getRecordings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.FlightRecorder java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.PlatformRecording
astore 2
start local 2 3: aload 1
aload 2
invokevirtual jdk.jfr.internal.PlatformRecording.getRecording:()Ljdk/jfr/Recording;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/FlightRecorder;
1 6 1 recs Ljava/util/List<Ljdk/jfr/Recording;>;
3 4 2 r Ljdk/jfr/internal/PlatformRecording;
Signature: ()Ljava/util/List<Ljdk/jfr/Recording;>;
public jdk.jfr.Recording takeSnapshot();
descriptor: ()Ljdk/jfr/Recording;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new jdk.jfr.Recording
dup
invokespecial jdk.jfr.Recording.<init>:()V
astore 1
start local 1 1: aload 1
ldc "Snapshot"
invokevirtual jdk.jfr.Recording.setName:(Ljava/lang/String;)V
2: aload 0
getfield jdk.jfr.FlightRecorder.internal:Ljdk/jfr/internal/PlatformRecorder;
aload 1
invokevirtual jdk.jfr.Recording.getInternal:()Ljdk/jfr/internal/PlatformRecording;
aconst_null
invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithRecordedData:(Ljdk/jfr/internal/PlatformRecording;Ljava/lang/Boolean;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/FlightRecorder;
1 4 1 snapshot Ljdk/jfr/Recording;
public static void register(java.lang.Class<? extends jdk.jfr.Event>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.Utils.ensureValidEventSubclass:(Ljava/lang/Class;)V
4: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
aload 0
invokevirtual jdk.jfr.internal.MetadataRepository.register:(Ljava/lang/Class;)Ljdk/jfr/EventType;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)V
MethodParameters:
Name Flags
eventClass
public static void unregister(java.lang.Class<? extends jdk.jfr.Event>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.Utils.ensureValidEventSubclass:(Ljava/lang/Class;)V
4: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
aload 0
invokevirtual jdk.jfr.internal.MetadataRepository.unregister:(Ljava/lang/Class;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)V
MethodParameters:
Name Flags
eventClass
public static jdk.jfr.FlightRecorder getFlightRecorder();
descriptor: ()Ljdk/jfr/FlightRecorder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: ldc Ljdk/jfr/internal/PlatformRecorder;
dup
astore 0
monitorenter
1: invokestatic jdk.jfr.internal.Utils.checkAccessFlightRecorder:()V
2: invokestatic jdk.jfr.internal.JVMSupport.ensureWithIllegalStateException:()V
3: getstatic jdk.jfr.FlightRecorder.platformRecorder:Ljdk/jfr/FlightRecorder;
ifnonnull 24
4: new jdk.jfr.FlightRecorder
dup
new jdk.jfr.internal.PlatformRecorder
dup
invokespecial jdk.jfr.internal.PlatformRecorder.<init>:()V
invokespecial jdk.jfr.FlightRecorder.<init>:(Ljdk/jfr/internal/PlatformRecorder;)V
putstatic jdk.jfr.FlightRecorder.platformRecorder:Ljdk/jfr/FlightRecorder;
5: goto 10
StackMap locals: java.lang.Class
StackMap stack: java.lang.IllegalStateException
6: astore 1
start local 1 7: aload 1
athrow
end local 1 8: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 9: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Can't create Flight Recorder. "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 10: StackMap locals:
StackMap stack:
iconst_1
putstatic jdk.jfr.FlightRecorder.initialized:Z
11: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "Flight Recorder initialized"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
12: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 21
13: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "maxchunksize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getMaxChunkSize:()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;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
14: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "memorysize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getMemorySize:()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;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
15: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "globalbuffersize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getGlobalBufferSize:()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;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
16: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "globalbuffercount: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getGlobalBufferCount:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
17: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "dumppath: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getDumpPath:()Ljdk/jfr/internal/SecuritySupport$SafePath;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
18: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "samplethreads: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getSampleThreads:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
19: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "stackdepth: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getStackDepth:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
20: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "threadbuffersize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Options.getThreadBufferSize:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 23
22: getstatic jdk.jfr.internal.LogTag.JFR:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Repository base directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic jdk.jfr.internal.Repository.getRepository:()Ljdk/jfr/internal/Repository;
invokevirtual jdk.jfr.internal.Repository.getBaseLocation:()Ljdk/jfr/internal/SecuritySupport$SafePath;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
getstatic jdk.jfr.FlightRecorder.platformRecorder:Ljdk/jfr/FlightRecorder;
invokestatic jdk.jfr.internal.PlatformRecorder.notifyRecorderInitialized:(Ljdk/jfr/FlightRecorder;)V
24: StackMap locals:
StackMap stack:
aload 0
monitorexit
25: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
26: aload 0
monitorexit
27: athrow
28: StackMap locals:
StackMap stack:
getstatic jdk.jfr.FlightRecorder.platformRecorder:Ljdk/jfr/FlightRecorder;
areturn
LocalVariableTable:
Start End Slot Name Signature
7 8 1 ise Ljava/lang/IllegalStateException;
9 10 1 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.IllegalStateException
4 5 8 Class java.lang.Exception
1 25 26 any
26 27 26 any
Exceptions:
throws java.lang.IllegalStateException, java.lang.SecurityException
public static void addPeriodicEvent(java.lang.Class<? extends jdk.jfr.Event>, java.lang.Runnable);
descriptor: (Ljava/lang/Class;Ljava/lang/Runnable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.Utils.ensureValidEventSubclass:(Ljava/lang/Class;)V
5: invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
6: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
astore 2
start local 2 7: aload 2
aload 0
invokestatic jdk.jfr.EventType.getEventType:(Ljava/lang/Class;)Ljdk/jfr/EventType;
invokevirtual jdk.jfr.EventType.getPlatformEventType:()Ljdk/jfr/internal/PlatformEventType;
aload 1
invokestatic jdk.jfr.internal.RequestEngine.addHook:(Ljava/security/AccessControlContext;Ljdk/jfr/internal/PlatformEventType;Ljava/lang/Runnable;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
0 9 1 hook Ljava/lang/Runnable;
7 9 2 acc Ljava/security/AccessControlContext;
Exceptions:
throws java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;Ljava/lang/Runnable;)V
MethodParameters:
Name Flags
eventClass
hook
public static boolean removePeriodicEvent(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.jfr.internal.Utils.checkRegisterPermission:()V
2: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.RequestEngine.removeHook:(Ljava/lang/Runnable;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 hook Ljava/lang/Runnable;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
hook
public java.util.List<jdk.jfr.EventType> getEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
invokevirtual jdk.jfr.internal.MetadataRepository.getRegisteredEventTypes:()Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/FlightRecorder;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public static void addListener(jdk.jfr.FlightRecorderListener);
descriptor: (Ljdk/jfr/FlightRecorderListener;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.jfr.internal.Utils.checkAccessFlightRecorder:()V
2: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.PlatformRecorder.addListener:(Ljdk/jfr/FlightRecorderListener;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 changeListener Ljdk/jfr/FlightRecorderListener;
MethodParameters:
Name Flags
changeListener
public static boolean removeListener(jdk.jfr.FlightRecorderListener);
descriptor: (Ljdk/jfr/FlightRecorderListener;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic jdk.jfr.internal.Utils.checkAccessFlightRecorder:()V
2: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.PlatformRecorder.removeListener:(Ljdk/jfr/FlightRecorderListener;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 changeListener Ljdk/jfr/FlightRecorderListener;
MethodParameters:
Name Flags
changeListener
public static boolean isAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.jfr.internal.JVMSupport.isNotAvailable:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.isAvailable:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isInitialized();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.jfr.FlightRecorder.initialized:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
jdk.jfr.internal.PlatformRecorder getInternal();
descriptor: ()Ljdk/jfr/internal/PlatformRecorder;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.FlightRecorder.internal:Ljdk/jfr/internal/PlatformRecorder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/FlightRecorder;
}
SourceFile: "FlightRecorder.java"
InnerClasses:
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport