final class jdk.jfr.internal.dcmd.DCmdDump extends jdk.jfr.internal.dcmd.AbstractDCmd
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.dcmd.DCmdDump
super_class: jdk.jfr.internal.dcmd.AbstractDCmd
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.jfr.internal.dcmd.AbstractDCmd.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/dcmd/DCmdDump;
public java.lang.String execute(java.lang.String, java.lang.String, java.lang.Long, java.lang.Long, java.lang.String, java.lang.String, java.lang.Boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=14, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: getstatic jdk.jfr.internal.LogTag.JFR_DCMD: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 11
1: getstatic jdk.jfr.internal.LogTag.JFR_DCMD:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
2: new java.lang.StringBuilder
dup
ldc "Executing DCmdDump: name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc ", filename="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ", maxage="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc ", maxsize="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ", begin="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc ", end="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ", path-to-gc-roots="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
invokevirtual jdk.jfr.FlightRecorder.getRecordings:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
12: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "No recordings to dump from. Use JFR.start to start a recording."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
13: StackMap locals:
StackMap stack:
aload 3
ifnull 20
14: aload 6
ifnonnull 15
aload 5
ifnull 16
15: StackMap locals:
StackMap stack:
new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed, maxage can't be combined with begin or end."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifge 18
17: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed, maxage can't be negative."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
18: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 20
19: ldc 4611686018427387903
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 3
20: StackMap locals:
StackMap stack:
aload 4
ifnull 25
21: aload 4
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifge 23
22: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed, maxsize can't be negative."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
23: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 25
24: ldc 4611686018427387903
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
25: StackMap locals:
StackMap stack:
aload 0
aload 5
ldc "begin"
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.parseTime:(Ljava/lang/String;Ljava/lang/String;)Ljava/time/Instant;
astore 8
start local 8 26: aload 0
aload 6
ldc "end"
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.parseTime:(Ljava/lang/String;Ljava/lang/String;)Ljava/time/Instant;
astore 9
start local 9 27: aload 8
ifnull 30
aload 9
ifnull 30
28: aload 9
aload 8
invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
ifeq 30
29: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed, begin must precede end."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
30: StackMap locals: java.time.Instant java.time.Instant
StackMap stack:
aconst_null
astore 10
start local 10 31: aload 3
ifnull 34
32: aload 3
invokevirtual java.lang.Long.longValue:()J
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
astore 10
33: invokestatic java.time.Instant.now:()Ljava/time/Instant;
aload 10
invokevirtual java.time.Instant.minus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
astore 8
34: StackMap locals: java.time.Duration
StackMap stack:
aconst_null
astore 11
start local 11 35: aload 1
ifnull 37
36: aload 0
aload 1
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.findRecording:(Ljava/lang/String;)Ljdk/jfr/Recording;
astore 11
37: StackMap locals: jdk.jfr.Recording
StackMap stack:
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformRecorder:()Ljdk/jfr/internal/PlatformRecorder;
astore 12
start local 12 38: aload 12
dup
astore 13
monitorenter
39: aload 0
aload 12
aload 11
aload 1
aload 2
aload 4
aload 7
aload 8
aload 9
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.dump:(Ljdk/jfr/internal/PlatformRecorder;Ljdk/jfr/Recording;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/time/Instant;Ljava/time/Instant;)V
40: aload 13
monitorexit
41: goto 46
StackMap locals: jdk.jfr.internal.dcmd.DCmdDump java.lang.String java.lang.String java.lang.Long java.lang.Long java.lang.String java.lang.String java.lang.Boolean java.time.Instant java.time.Instant java.time.Duration jdk.jfr.Recording jdk.jfr.internal.PlatformRecorder jdk.jfr.internal.PlatformRecorder
StackMap stack: java.lang.Throwable
42: aload 13
monitorexit
43: athrow
44: StackMap locals: jdk.jfr.internal.dcmd.DCmdDump java.lang.String java.lang.String java.lang.Long java.lang.Long java.lang.String java.lang.String java.lang.Boolean java.time.Instant java.time.Instant java.time.Duration jdk.jfr.Recording jdk.jfr.internal.PlatformRecorder
StackMap stack: java.lang.Exception
astore 13
start local 13 45: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed. Could not copy recording data. %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 13
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 13 46: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.getResult:()Ljava/lang/String;
areturn
end local 12 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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljdk/jfr/internal/dcmd/DCmdDump;
0 47 1 name Ljava/lang/String;
0 47 2 filename Ljava/lang/String;
0 47 3 maxAge Ljava/lang/Long;
0 47 4 maxSize Ljava/lang/Long;
0 47 5 begin Ljava/lang/String;
0 47 6 end Ljava/lang/String;
0 47 7 pathToGcRoots Ljava/lang/Boolean;
26 47 8 beginTime Ljava/time/Instant;
27 47 9 endTime Ljava/time/Instant;
31 47 10 duration Ljava/time/Duration;
35 47 11 recording Ljdk/jfr/Recording;
38 47 12 recorder Ljdk/jfr/internal/PlatformRecorder;
45 46 13 e Ljava/lang/Exception;
Exception table:
from to target type
39 41 42 any
42 43 42 any
38 44 44 Class java.io.IOException
38 44 44 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
name
filename
maxAge
maxSize
begin
end
pathToGcRoots
public void dump(jdk.jfr.internal.PlatformRecorder, jdk.jfr.Recording, java.lang.String, java.lang.String, java.lang.Long, java.lang.Boolean, java.time.Instant, java.time.Instant);
descriptor: (Ljdk/jfr/internal/PlatformRecorder;Ljdk/jfr/Recording;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/time/Instant;Ljava/time/Instant;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aconst_null
astore 9
aconst_null
astore 10
1: aload 0
aload 1
aload 2
aload 6
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.newSnapShot:(Ljdk/jfr/internal/PlatformRecorder;Ljdk/jfr/Recording;Ljava/lang/Boolean;)Ljdk/jfr/internal/PlatformRecording;
astore 11
start local 11 2: aload 11
aload 7
aload 8
aload 5
invokevirtual jdk.jfr.internal.PlatformRecording.filter:(Ljava/time/Instant;Ljava/time/Instant;Ljava/lang/Long;)V
3: aload 11
invokevirtual jdk.jfr.internal.PlatformRecording.getChunks:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 5
4: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed. No data found in the specified interval."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
5: StackMap locals: java.lang.Throwable java.lang.Throwable jdk.jfr.internal.PlatformRecording
StackMap stack:
aconst_null
astore 12
start local 12 6: aload 2
ifnull 9
7: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 2
invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformRecording:(Ljdk/jfr/Recording;)Ljdk/jfr/internal/PlatformRecording;
astore 13
start local 13 8: aload 13
invokevirtual jdk.jfr.internal.PlatformRecording.getDestination:()Ljdk/jfr/internal/WriteableUserPath;
astore 12
end local 13 9: StackMap locals: jdk.jfr.internal.WriteableUserPath
StackMap stack:
aload 4
ifnonnull 10
aload 4
ifnonnull 12
aload 12
ifnonnull 12
10: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 4
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.resolvePath:(Ljdk/jfr/Recording;Ljava/lang/String;)Ljdk/jfr/internal/SecuritySupport$SafePath;
astore 13
start local 13 11: new jdk.jfr.internal.WriteableUserPath
dup
aload 13
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokespecial jdk.jfr.internal.WriteableUserPath.<init>:(Ljava/nio/file/Path;)V
astore 12
end local 13 12: StackMap locals:
StackMap stack:
aload 11
aload 12
invokevirtual jdk.jfr.internal.PlatformRecording.dumpStopped:(Ljdk/jfr/internal/WriteableUserPath;)V
13: aload 0
ldc "Dumped"
aload 3
new jdk.jfr.internal.SecuritySupport$SafePath
dup
aload 12
invokevirtual jdk.jfr.internal.WriteableUserPath.getRealPathText:()Ljava/lang/String;
invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/lang/String;)V
invokevirtual jdk.jfr.internal.dcmd.DCmdDump.reportOperationComplete:(Ljava/lang/String;Ljava/lang/String;Ljdk/jfr/internal/SecuritySupport$SafePath;)V
end local 12 14: aload 11
ifnull 20
aload 11
invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
goto 20
StackMap locals: jdk.jfr.internal.dcmd.DCmdDump jdk.jfr.internal.PlatformRecorder jdk.jfr.Recording java.lang.String java.lang.String java.lang.Long java.lang.Boolean java.time.Instant java.time.Instant java.lang.Throwable java.lang.Throwable jdk.jfr.internal.PlatformRecording
StackMap stack: java.lang.Throwable
15: astore 9
aload 11
ifnull 16
aload 11
invokevirtual jdk.jfr.internal.PlatformRecording.close:()V
end local 11 StackMap locals:
StackMap stack:
16: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 10
aload 9
ifnonnull 18
aload 10
astore 9
goto 19
StackMap locals:
StackMap stack:
18: aload 9
aload 10
if_acmpeq 19
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 9
athrow
20: StackMap locals:
StackMap stack:
return
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 21 0 this Ljdk/jfr/internal/dcmd/DCmdDump;
0 21 1 recorder Ljdk/jfr/internal/PlatformRecorder;
0 21 2 recording Ljdk/jfr/Recording;
0 21 3 name Ljava/lang/String;
0 21 4 filename Ljava/lang/String;
0 21 5 maxSize Ljava/lang/Long;
0 21 6 pathToGcRoots Ljava/lang/Boolean;
0 21 7 beginTime Ljava/time/Instant;
0 21 8 endTime Ljava/time/Instant;
2 16 11 r Ljdk/jfr/internal/PlatformRecording;
6 14 12 wup Ljdk/jfr/internal/WriteableUserPath;
8 9 13 pRecording Ljdk/jfr/internal/PlatformRecording;
11 12 13 safe Ljdk/jfr/internal/SecuritySupport$SafePath;
Exception table:
from to target type
2 14 15 any
1 17 17 any
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException, java.io.IOException
MethodParameters:
Name Flags
recorder
recording
name
filename
maxSize
pathToGcRoots
beginTime
endTime
private java.time.Instant parseTime(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/time/Instant;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic java.time.Instant.parse:(Ljava/lang/CharSequence;)Ljava/time/Instant;
3: areturn
4: StackMap locals:
StackMap stack: java.time.format.DateTimeParseException
pop
5: aload 1
invokestatic java.time.LocalDateTime.parse:(Ljava/lang/CharSequence;)Ljava/time/LocalDateTime;
astore 3
start local 3 6: aload 3
invokestatic java.time.ZoneId.systemDefault:()Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.of:(Ljava/time/LocalDateTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
7: areturn
end local 3 8: StackMap locals:
StackMap stack: java.time.format.DateTimeParseException
pop
9: aload 1
invokestatic java.time.LocalTime.parse:(Ljava/lang/CharSequence;)Ljava/time/LocalTime;
astore 3
start local 3 10: invokestatic java.time.LocalDate.now:()Ljava/time/LocalDate;
astore 4
start local 4 11: aload 4
aload 3
invokestatic java.time.ZoneId.systemDefault:()Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.of:(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
astore 5
start local 5 12: invokestatic java.time.Instant.now:()Ljava/time/Instant;
astore 6
start local 6 13: aload 5
aload 6
invokevirtual java.time.Instant.isAfter:(Ljava/time/Instant;)Z
ifeq 15
aload 5
aload 6
ldc 3600
invokevirtual java.time.Instant.plusSeconds:(J)Ljava/time/Instant;
invokevirtual java.time.Instant.isBefore:(Ljava/time/Instant;)Z
ifne 15
14: aload 4
lconst_1
invokevirtual java.time.LocalDate.minusDays:(J)Ljava/time/LocalDate;
astore 4
15: StackMap locals: jdk.jfr.internal.dcmd.DCmdDump java.lang.String java.lang.String java.time.LocalTime java.time.LocalDate java.time.Instant java.time.Instant
StackMap stack:
aload 4
aload 3
invokestatic java.time.ZoneId.systemDefault:()Ljava/time/ZoneId;
invokestatic java.time.ZonedDateTime.of:(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
16: areturn
end local 6 end local 5 end local 4 end local 3 17: StackMap locals: jdk.jfr.internal.dcmd.DCmdDump java.lang.String java.lang.String
StackMap stack: java.time.format.DateTimeParseException
pop
18: aload 1
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
19: aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic jdk.jfr.internal.Utils.parseTimespan:(Ljava/lang/String;)J
lstore 3
start local 3 20: lload 3
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
astore 5
start local 5 21: invokestatic java.time.Instant.now:()Ljava/time/Instant;
aload 5
invokevirtual java.time.Instant.minus:(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;
22: areturn
end local 5 end local 3 23: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
24: StackMap locals:
StackMap stack:
new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Dump failed, not a valid %s time."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/jfr/internal/dcmd/DCmdDump;
0 25 1 time Ljava/lang/String;
0 25 2 parameter Ljava/lang/String;
6 8 3 ldt Ljava/time/LocalDateTime;
10 17 3 lt Ljava/time/LocalTime;
11 17 4 ld Ljava/time/LocalDate;
12 17 5 instant Ljava/time/Instant;
13 17 6 now Ljava/time/Instant;
20 23 3 durationNanos J
21 23 5 duration Ljava/time/Duration;
Exception table:
from to target type
2 3 4 Class java.time.format.DateTimeParseException
5 7 8 Class java.time.format.DateTimeParseException
9 16 17 Class java.time.format.DateTimeParseException
19 22 23 Class java.lang.NumberFormatException
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
time
parameter
private jdk.jfr.internal.PlatformRecording newSnapShot(jdk.jfr.internal.PlatformRecorder, jdk.jfr.Recording, java.lang.Boolean);
descriptor: (Ljdk/jfr/internal/PlatformRecorder;Ljdk/jfr/Recording;Ljava/lang/Boolean;)Ljdk/jfr/internal/PlatformRecording;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 4
1: aload 1
invokevirtual jdk.jfr.internal.PlatformRecorder.newTemporaryRecording:()Ljdk/jfr/internal/PlatformRecording;
astore 4
start local 4 2: aload 1
aload 4
aload 3
invokevirtual jdk.jfr.internal.PlatformRecorder.fillWithRecordedData:(Ljdk/jfr/internal/PlatformRecording;Ljava/lang/Boolean;)V
3: aload 4
areturn
end local 4 4: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 2
invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformRecording:(Ljdk/jfr/Recording;)Ljdk/jfr/internal/PlatformRecording;
astore 4
start local 4 5: aload 4
ldc "Dumped by user"
aload 3
invokevirtual jdk.jfr.internal.PlatformRecording.newSnapshotClone:(Ljava/lang/String;Ljava/lang/Boolean;)Ljdk/jfr/internal/PlatformRecording;
areturn
end local 4 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/DCmdDump;
0 6 1 recorder Ljdk/jfr/internal/PlatformRecorder;
0 6 2 recording Ljdk/jfr/Recording;
0 6 3 pathToGcRoots Ljava/lang/Boolean;
2 4 4 snapshot Ljdk/jfr/internal/PlatformRecording;
5 6 4 pr Ljdk/jfr/internal/PlatformRecording;
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException, java.io.IOException
MethodParameters:
Name Flags
recorder
recording
pathToGcRoots
}
SourceFile: "DCmdDump.java"
InnerClasses:
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport