public final class jdk.jfr.Recording implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.Recording
super_class: java.lang.Object
{
private final jdk.jfr.internal.PlatformRecording internal;
descriptor: Ljdk/jfr/internal/PlatformRecording;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
invokevirtual jdk.jfr.FlightRecorder.getInternal:()Ljdk/jfr/internal/PlatformRecorder;
astore 2
start local 2 2: aload 2
dup
astore 3
monitorenter
3: aload 0
aload 2
aload 1
invokevirtual jdk.jfr.internal.PlatformRecorder.newRecording:(Ljava/util/Map;)Ljdk/jfr/internal/PlatformRecording;
putfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
4: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 0
invokevirtual jdk.jfr.internal.PlatformRecording.setRecording:(Ljdk/jfr/Recording;)V
5: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getRecording:()Ljdk/jfr/Recording;
aload 0
if_acmpeq 7
6: new java.lang.InternalError
dup
ldc "Internal recording not properly setup"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: jdk.jfr.Recording java.util.Map jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecorder
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/jfr/Recording;
0 12 1 settings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 12 2 r Ljdk/jfr/internal/PlatformRecorder;
Exception table:
from to target type
3 8 9 any
9 10 9 any
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
settings
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokespecial jdk.jfr.Recording.<init>:(Ljava/util/Map;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
public void <init>(jdk.jfr.Configuration);
descriptor: (Ljdk/jfr/Configuration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jfr.Configuration.getSettings:()Ljava/util/Map;
invokespecial jdk.jfr.Recording.<init>:(Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
0 2 1 configuration Ljdk/jfr/Configuration;
MethodParameters:
Name Flags
configuration
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.start:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
public void scheduleStart(java.time.Duration);
descriptor: (Ljava/time/Duration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
invokevirtual jdk.jfr.internal.PlatformRecording.scheduleStart:(Ljava/time/Duration;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/Recording;
0 3 1 delay Ljava/time/Duration;
MethodParameters:
Name Flags
delay
public boolean stop();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
ldc "Stopped by user"
invokevirtual jdk.jfr.internal.PlatformRecording.stop:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public java.util.Map<java.lang.String, java.lang.String> getSettings();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getSettings:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public long getSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public java.time.Instant getStopTime();
descriptor: ()Ljava/time/Instant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getStopTime:()Ljava/time/Instant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public java.time.Instant getStartTime();
descriptor: ()Ljava/time/Instant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getStartTime:()Ljava/time/Instant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public long getMaxSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getMaxSize:()Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public java.time.Duration getMaxAge();
descriptor: ()Ljava/time/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getMaxAge:()Ljava/time/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public java.lang.String getName();
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.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void setSettings(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic jdk.jfr.internal.Utils.sanitizeNullFreeStringMap:(Ljava/util/Map;)Ljava/util/Map;
astore 2
start local 2 2: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 2
invokevirtual jdk.jfr.internal.PlatformRecording.setSettings:(Ljava/util/Map;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 settings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 4 2 sanitized Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
settings
public jdk.jfr.RecordingState getState();
descriptor: ()Ljdk/jfr/RecordingState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getState:()Ljdk/jfr/RecordingState;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
public jdk.jfr.Recording copy(boolean);
descriptor: (Z)Ljdk/jfr/Recording;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
iload 1
invokevirtual jdk.jfr.internal.PlatformRecording.newCopy:(Z)Ljdk/jfr/Recording;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
0 1 1 stop Z
MethodParameters:
Name Flags
stop
public void dump(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 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
new jdk.jfr.internal.WriteableUserPath
dup
aload 1
invokespecial jdk.jfr.internal.WriteableUserPath.<init>:(Ljava/nio/file/Path;)V
invokevirtual jdk.jfr.internal.PlatformRecording.dump:(Ljdk/jfr/internal/WriteableUserPath;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/Recording;
0 3 1 destination Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
public boolean isToDisk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.isToDisk:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void setMaxSize(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
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Max size of recording can't be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
lload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setMaxSize:(J)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 maxSize J
MethodParameters:
Name Flags
maxSize
public void setMaxAge(java.time.Duration);
descriptor: (Ljava/time/Duration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 1
invokevirtual java.time.Duration.isNegative:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Max age of recording can't be negative"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setMaxAge:(Ljava/time/Duration;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 maxAge Ljava/time/Duration;
MethodParameters:
Name Flags
maxAge
public void setDestination(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
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
ifnull 1
new jdk.jfr.internal.WriteableUserPath
dup
aload 1
invokespecial jdk.jfr.internal.WriteableUserPath.<init>:(Ljava/nio/file/Path;)V
goto 2
StackMap locals:
StackMap stack: jdk.jfr.internal.PlatformRecording
1: aconst_null
StackMap locals: jdk.jfr.Recording java.nio.file.Path
StackMap stack: jdk.jfr.internal.PlatformRecording jdk.jfr.internal.WriteableUserPath
2: invokevirtual jdk.jfr.internal.PlatformRecording.setDestination:(Ljdk/jfr/internal/WriteableUserPath;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 destination Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
public java.nio.file.Path getDestination();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: jdk.jfr.internal.WriteableUserPath
StackMap stack:
aload 1
invokevirtual jdk.jfr.internal.WriteableUserPath.getPotentiallyMaliciousOriginal:()Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
1 4 1 usp Ljdk/jfr/internal/WriteableUserPath;
public long getId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getId:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setName:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/Recording;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setDumpOnExit(boolean);
descriptor: (Z)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.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
iload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setDumpOnExit:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
0 2 1 dumpOnExit Z
MethodParameters:
Name Flags
dumpOnExit
public boolean getDumpOnExit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getDumpOnExit:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void setToDisk(boolean);
descriptor: (Z)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.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
iload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setToDisk:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
0 2 1 disk Z
MethodParameters:
Name Flags
disk
public java.io.InputStream getStream(java.time.Instant, java.time.Instant);
descriptor: (Ljava/time/Instant;Ljava/time/Instant;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
aload 2
ifnull 2
aload 2
aload 1
invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "End time of requested stream must not be before start time"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
aload 2
invokevirtual jdk.jfr.internal.PlatformRecording.open:(Ljava/time/Instant;Ljava/time/Instant;)Ljava/io/InputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/Recording;
0 3 1 start Ljava/time/Instant;
0 3 2 end Ljava/time/Instant;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
start
end
public java.time.Duration getDuration();
descriptor: ()Ljava/time/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
invokevirtual jdk.jfr.internal.PlatformRecording.getDuration:()Ljava/time/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
public void setDuration(java.time.Duration);
descriptor: (Ljava/time/Duration;)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.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
invokevirtual jdk.jfr.internal.PlatformRecording.setDuration:(Ljava/time/Duration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/Recording;
0 2 1 duration Ljava/time/Duration;
MethodParameters:
Name Flags
duration
public jdk.jfr.EventSettings enable(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/EventSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.jfr.Recording$RecordingSettings
dup
aload 0
aload 1
invokespecial jdk.jfr.Recording$RecordingSettings.<init>:(Ljdk/jfr/Recording;Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
ldc "enabled"
ldc "true"
invokevirtual jdk.jfr.Recording$RecordingSettings.with:(Ljava/lang/String;Ljava/lang/String;)Ljdk/jfr/EventSettings;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 name Ljava/lang/String;
2 4 2 rs Ljdk/jfr/Recording$RecordingSettings;
MethodParameters:
Name Flags
name
public jdk.jfr.EventSettings disable(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/EventSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.jfr.Recording$RecordingSettings
dup
aload 0
aload 1
invokespecial jdk.jfr.Recording$RecordingSettings.<init>:(Ljdk/jfr/Recording;Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
ldc "enabled"
ldc "false"
invokevirtual jdk.jfr.Recording$RecordingSettings.with:(Ljava/lang/String;Ljava/lang/String;)Ljdk/jfr/EventSettings;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 name Ljava/lang/String;
2 4 2 rs Ljdk/jfr/Recording$RecordingSettings;
MethodParameters:
Name Flags
name
public jdk.jfr.EventSettings enable(java.lang.Class<? extends jdk.jfr.Event>);
descriptor: (Ljava/lang/Class;)Ljdk/jfr/EventSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.jfr.Recording$RecordingSettings
dup
aload 0
aload 1
invokespecial jdk.jfr.Recording$RecordingSettings.<init>:(Ljdk/jfr/Recording;Ljava/lang/Class;)V
astore 2
start local 2 2: aload 2
ldc "enabled"
ldc "true"
invokevirtual jdk.jfr.Recording$RecordingSettings.with:(Ljava/lang/String;Ljava/lang/String;)Ljdk/jfr/EventSettings;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
2 4 2 rs Ljdk/jfr/Recording$RecordingSettings;
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)Ljdk/jfr/EventSettings;
MethodParameters:
Name Flags
eventClass
public jdk.jfr.EventSettings disable(java.lang.Class<? extends jdk.jfr.Event>);
descriptor: (Ljava/lang/Class;)Ljdk/jfr/EventSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.jfr.Recording$RecordingSettings
dup
aload 0
aload 1
invokespecial jdk.jfr.Recording$RecordingSettings.<init>:(Ljdk/jfr/Recording;Ljava/lang/Class;)V
astore 2
start local 2 2: aload 2
ldc "enabled"
ldc "false"
invokevirtual jdk.jfr.Recording$RecordingSettings.with:(Ljava/lang/String;Ljava/lang/String;)Ljdk/jfr/EventSettings;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 eventClass Ljava/lang/Class<+Ljdk/jfr/Event;>;
2 4 2 rs Ljdk/jfr/Recording$RecordingSettings;
Signature: (Ljava/lang/Class<+Ljdk/jfr/Event;>;)Ljdk/jfr/EventSettings;
MethodParameters:
Name Flags
eventClass
jdk.jfr.internal.PlatformRecording getInternal();
descriptor: ()Ljdk/jfr/internal/PlatformRecording;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/Recording;
private void setSetting(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield jdk.jfr.Recording.internal:Ljdk/jfr/internal/PlatformRecording;
aload 1
aload 2
invokevirtual jdk.jfr.internal.PlatformRecording.setSetting:(Ljava/lang/String;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/Recording;
0 4 1 id Ljava/lang/String;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
id
value
}
SourceFile: "Recording.java"
NestMembers:
jdk.jfr.Recording$RecordingSettings
InnerClasses:
private RecordingSettings = jdk.jfr.Recording$RecordingSettings of jdk.jfr.Recording