abstract class jdk.jfr.internal.dcmd.AbstractDCmd
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.jfr.internal.dcmd.AbstractDCmd
super_class: java.lang.Object
{
private final java.io.StringWriter result;
descriptor: Ljava/io/StringWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
putfield jdk.jfr.internal.dcmd.AbstractDCmd.result:Ljava/io/StringWriter;
2: aload 0
new java.io.PrintWriter
dup
aload 0
getfield jdk.jfr.internal.dcmd.AbstractDCmd.result:Ljava/io/StringWriter;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
putfield jdk.jfr.internal.dcmd.AbstractDCmd.log:Ljava/io/PrintWriter;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
protected final jdk.jfr.FlightRecorder getFlightRecorder();
descriptor: ()Ljdk/jfr/FlightRecorder;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
public final java.lang.String getResult();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.dcmd.AbstractDCmd.result:Ljava/io/StringWriter;
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
public java.lang.String getPid();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.getPid:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
protected final jdk.jfr.internal.SecuritySupport$SafePath resolvePath(jdk.jfr.Recording, java.lang.String);
descriptor: (Ljdk/jfr/Recording;Ljava/lang/String;)Ljdk/jfr/internal/SecuritySupport$SafePath;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
aload 1
ldc "."
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.makeGenerated:(Ljdk/jfr/Recording;Ljava/nio/file/Path;)Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
2: StackMap locals:
StackMap stack:
aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 3: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
4: aload 0
aload 1
aload 3
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.makeGenerated:(Ljdk/jfr/Recording;Ljava/nio/file/Path;)Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
5: StackMap locals: java.nio.file.Path
StackMap stack:
new jdk.jfr.internal.SecuritySupport$SafePath
dup
aload 3
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/nio/file/Path;)V
areturn
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/dcmd/AbstractDCmd;
0 6 1 recording Ljdk/jfr/Recording;
0 6 2 filename Ljava/lang/String;
3 6 3 path Ljava/nio/file/Path;
Exceptions:
throws java.nio.file.InvalidPathException
MethodParameters:
Name Flags
recording
filename
private jdk.jfr.internal.SecuritySupport$SafePath makeGenerated(jdk.jfr.Recording, java.nio.file.Path);
descriptor: (Ljdk/jfr/Recording;Ljava/nio/file/Path;)Ljdk/jfr/internal/SecuritySupport$SafePath;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.jfr.internal.SecuritySupport$SafePath
dup
aload 2
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
aload 1
invokestatic jdk.jfr.internal.Utils.makeFilename:(Ljdk/jfr/Recording;)Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/nio/file/Path;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 1 1 recording Ljdk/jfr/Recording;
0 1 2 directory Ljava/nio/file/Path;
MethodParameters:
Name Flags
recording
directory
protected final jdk.jfr.Recording findRecording(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/Recording;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.findRecordingById:(I)Ljdk/jfr/Recording;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: aload 0
aload 1
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.findRecordingByName:(Ljava/lang/String;)Ljdk/jfr/Recording;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 4 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
name
protected final void reportOperationComplete(java.lang.String, java.lang.String, jdk.jfr.internal.SecuritySupport$SafePath);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/jfr/internal/SecuritySupport$SafePath;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
1: aload 0
ldc " recording"
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
2: aload 2
ifnull 4
3: aload 0
new java.lang.StringBuilder
dup
ldc " \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 3
ifnull 15
5: aload 0
ldc ","
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
6: aload 0
ldc " "
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
7: aload 3
invokestatic jdk.jfr.internal.SecuritySupport.getFileSize:(Ljdk/jfr/internal/SecuritySupport$SafePath;)J
lstore 4
start local 4 8: aload 0
lload 4
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.printBytes:(J)V
end local 4 9: goto 11
StackMap locals:
StackMap stack: java.io.IOException
10: pop
11: StackMap locals:
StackMap stack:
aload 0
ldc " written to:"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:(Ljava/lang/String;[Ljava/lang/Object;)V
12: aload 0
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:()V
13: aload 0
aload 3
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.printPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 0
ldc "."
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:(Ljava/lang/String;[Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 17 1 actionPrefix Ljava/lang/String;
0 17 2 name Ljava/lang/String;
0 17 3 file Ljdk/jfr/internal/SecuritySupport$SafePath;
8 9 4 bytes J
Exception table:
from to target type
6 9 10 Class java.io.IOException
MethodParameters:
Name Flags
actionPrefix
name
file
protected final java.util.List<jdk.jfr.Recording> getRecordings();
descriptor: ()Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
invokevirtual jdk.jfr.FlightRecorder.getRecordings:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/jfr/Recording.getId()J (5)
(Ljdk/jfr/Recording;)Ljava/lang/Long;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
1 3 1 list Ljava/util/List<Ljdk/jfr/Recording;>;
Signature: ()Ljava/util/List<Ljdk/jfr/Recording;>;
static java.lang.String quoteIfNeeded(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "\\\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\\\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 text Ljava/lang/String;
MethodParameters:
Name Flags
text
protected final void println();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.dcmd.AbstractDCmd.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
protected final void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.dcmd.AbstractDCmd.log:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected final void print(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0094) ACC_PROTECTED, ACC_FINAL, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jfr.internal.dcmd.AbstractDCmd.log:Ljava/io/PrintWriter;
aload 1
aload 2
invokevirtual java.io.PrintWriter.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 2 1 s Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
s
args
protected final void println(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0094) ACC_PROTECTED, ACC_FINAL, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 3 1 s Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
s
args
protected final void printBytes(long);
descriptor: (J)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic jdk.jfr.internal.Utils.formatBytes:(J)Ljava/lang/String;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 2 1 bytes J
MethodParameters:
Name Flags
bytes
protected final void printTimespan(java.time.Duration, java.lang.String);
descriptor: (Ljava/time/Duration;Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.jfr.internal.Utils.formatTimespan:(Ljava/time/Duration;Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)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/dcmd/AbstractDCmd;
0 2 1 timespan Ljava/time/Duration;
0 2 2 separator Ljava/lang/String;
MethodParameters:
Name Flags
timespan
separator
protected final void printPath(jdk.jfr.internal.SecuritySupport$SafePath);
descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
ldc "N/A"
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.print:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.jfr.internal.SecuritySupport.getAbsolutePath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)Ljdk/jfr/internal/SecuritySupport$SafePath;
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.printPath:(Ljava/nio/file/Path;)V
4: goto 7
StackMap locals:
StackMap stack: java.io.IOException
5: pop
6: aload 0
aload 1
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.printPath:(Ljava/nio/file/Path;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 8 1 path Ljdk/jfr/internal/SecuritySupport$SafePath;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
path
protected final void printPath(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:(Ljava/lang/String;[Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.SecurityException
2: pop
3: aload 0
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.println:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 5 1 path Ljava/nio/file/Path;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
MethodParameters:
Name Flags
path
private jdk.jfr.Recording findRecordingById(int);
descriptor: (I)Ljdk/jfr/Recording;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
invokevirtual jdk.jfr.FlightRecorder.getRecordings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.internal.dcmd.AbstractDCmd int top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.Recording
astore 2
start local 2 2: aload 2
invokevirtual jdk.jfr.Recording.getId:()J
iload 1
i2l
lcmp
ifne 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Could not find %d.\n\nUse JFR.check without options to see list of all available recordings."
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 6 1 id I
2 4 2 r Ljdk/jfr/Recording;
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
id
private jdk.jfr.Recording findRecordingByName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/jfr/Recording;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.dcmd.AbstractDCmd.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
invokevirtual jdk.jfr.FlightRecorder.getRecordings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.jfr.internal.dcmd.AbstractDCmd java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.Recording
astore 2
start local 2 2: aload 1
aload 2
invokevirtual jdk.jfr.Recording.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Could not find %s.\n\nUse JFR.check without options to see list of all available recordings."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/dcmd/AbstractDCmd;
0 6 1 name Ljava/lang/String;
2 4 2 recording Ljdk/jfr/Recording;
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
name
}
SourceFile: "AbstractDCmd.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport