final class jdk.jfr.internal.dcmd.DCmdStart 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.DCmdStart
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/DCmdStart;
public java.lang.String execute(java.lang.String, java.lang.String[], java.lang.Long, java.lang.Long, java.lang.Boolean, java.lang.String, java.lang.Long, java.lang.Long, java.lang.Boolean, java.lang.Boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=17, args_size=11
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 start local 9 start local 10 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 14
1: getstatic jdk.jfr.internal.LogTag.JFR_DCMD:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.DEBUG:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Executing DCmdStart: name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ", settings="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
ifnull 3
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
goto 4
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean
StackMap stack: jdk.jfr.internal.LogTag jdk.jfr.internal.LogLevel java.lang.StringBuilder
3: ldc "(none)"
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean
StackMap stack: jdk.jfr.internal.LogTag jdk.jfr.internal.LogLevel java.lang.StringBuilder java.lang.Object
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc ", delay="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc ", duration="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ", disk="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: ldc ", filename="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc ", maxage="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: ldc ", maxsize="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc ", dumponexit ="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
12: ldc ", path-to-gc-roots="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 1
ifnull 18
15: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
16: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Name of recording can't be numeric"
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
17: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
18: StackMap locals:
StackMap stack:
aload 4
ifnonnull 20
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 9
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 20
aload 6
ifnull 20
19: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Filename can only be set for a time bound recording or if dumponexit=true. Set duration/dumponexit or omit filename."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
20: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_1
if_icmpne 22
aload 2
iconst_0
aaload
invokevirtual java.lang.String.length:()I
ifne 22
21: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "No settings specified. Use settings=none to start without any settings"
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
22: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 23: aload 2
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 32
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean java.util.Map top int int java.lang.String[]
StackMap stack:
24: aload 15
iload 13
aaload
astore 12
start local 12 25: aload 11
aload 12
invokestatic jdk.jfr.internal.jfc.JFC.createKnown:(Ljava/lang/String;)Ljdk/jfr/Configuration;
invokevirtual jdk.jfr.Configuration.getSettings:()Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
26: goto 31
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean java.util.Map java.lang.String int int java.lang.String[]
StackMap stack: java.io.FileNotFoundException
27: astore 16
start local 16 28: new jdk.jfr.internal.dcmd.DCmdException
dup
new java.lang.StringBuilder
dup
ldc "Could not find settings file'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
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;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 16
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 16 29: StackMap locals:
StackMap stack: java.lang.Exception
astore 16
start local 16 30: new jdk.jfr.internal.dcmd.DCmdException
dup
new java.lang.StringBuilder
dup
ldc "Could not parse settings file '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_0
aaload
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;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 16
aastore
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 16 end local 12 31: StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean java.util.Map top int int java.lang.String[]
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
32: iload 13
iload 14
if_icmplt 24
33: aload 11
aload 10
invokestatic jdk.jfr.internal.OldObjectSample.updateSettingPathToGcRoots:(Ljava/util/Map;Ljava/lang/Boolean;)V
34: aload 4
ifnull 37
35: aload 4
invokevirtual java.lang.Long.longValue:()J
ldc 1000000000
lcmp
ifge 37
36: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Could not start recording, duration must be at least 1 second."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
37: StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean java.util.Map
StackMap stack:
aload 3
ifnull 40
38: aload 3
invokevirtual java.lang.Long.longValue:()J
ldc 1000000000
lcmp
ifge 40
39: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Could not start recording, delay must be at least 1 second."
iconst_0
anewarray java.lang.Object
invokespecial jdk.jfr.internal.dcmd.DCmdException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
40: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.FlightRecorder.isInitialized:()Z
ifne 42
aload 3
ifnonnull 42
41: aload 0
aload 11
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.initializeWithForcedInstrumentation:(Ljava/util/Map;)V
42: StackMap locals:
StackMap stack:
new jdk.jfr.Recording
dup
invokespecial jdk.jfr.Recording.<init>:()V
astore 12
start local 12 43: aload 1
ifnull 45
44: aload 12
aload 1
invokevirtual jdk.jfr.Recording.setName:(Ljava/lang/String;)V
45: StackMap locals: jdk.jfr.Recording
StackMap stack:
aload 5
ifnull 47
46: aload 12
aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual jdk.jfr.Recording.setToDisk:(Z)V
47: StackMap locals:
StackMap stack:
aload 12
aload 11
invokevirtual jdk.jfr.Recording.setSettings:(Ljava/util/Map;)V
48: aconst_null
astore 13
start local 13 49: aload 6
ifnull 62
50: aload 9
ifnonnull 52
51: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
astore 9
52: StackMap locals: jdk.jfr.internal.SecuritySupport$SafePath
StackMap stack:
aload 6
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 14
start local 14 53: aload 14
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 56
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 9
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 56
54: invokestatic jdk.jfr.internal.PrivateAccess.getInstance:()Ljdk/jfr/internal/PrivateAccess;
aload 12
invokevirtual jdk.jfr.internal.PrivateAccess.getPlatformRecording:(Ljdk/jfr/Recording;)Ljdk/jfr/internal/PlatformRecording;
new jdk.jfr.internal.SecuritySupport$SafePath
dup
aload 14
invokespecial jdk.jfr.internal.SecuritySupport$SafePath.<init>:(Ljava/nio/file/Path;)V
invokevirtual jdk.jfr.internal.PlatformRecording.setDumpOnExitDirectory:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
55: goto 62
56: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
aload 12
aload 6
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.resolvePath:(Ljdk/jfr/Recording;Ljava/lang/String;)Ljdk/jfr/internal/SecuritySupport$SafePath;
astore 13
57: aload 12
aload 13
invokevirtual jdk.jfr.internal.SecuritySupport$SafePath.toPath:()Ljava/nio/file/Path;
invokevirtual jdk.jfr.Recording.setDestination:(Ljava/nio/file/Path;)V
end local 14 58: goto 62
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.lang.String java.lang.String[] java.lang.Long java.lang.Long java.lang.Boolean java.lang.String java.lang.Long java.lang.Long java.lang.Boolean java.lang.Boolean java.util.Map jdk.jfr.Recording jdk.jfr.internal.SecuritySupport$SafePath
StackMap stack: java.lang.Exception
59: astore 14
start local 14 60: aload 12
invokevirtual jdk.jfr.Recording.close:()V
61: new jdk.jfr.internal.dcmd.DCmdException
dup
ldc "Could not start recording, not able to write to file %s. %s "
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 14
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 14 62: StackMap locals:
StackMap stack:
aload 7
ifnull 64
63: aload 12
aload 7
invokevirtual java.lang.Long.longValue:()J
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
invokevirtual jdk.jfr.Recording.setMaxAge:(Ljava/time/Duration;)V
64: StackMap locals:
StackMap stack:
aload 8
ifnull 66
65: aload 12
aload 8
invokevirtual java.lang.Long.longValue:()J
invokevirtual jdk.jfr.Recording.setMaxSize:(J)V
66: StackMap locals:
StackMap stack:
aload 4
ifnull 68
67: aload 12
aload 4
invokevirtual java.lang.Long.longValue:()J
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
invokevirtual jdk.jfr.Recording.setDuration:(Ljava/time/Duration;)V
68: StackMap locals:
StackMap stack:
aload 9
ifnull 70
69: aload 12
aload 9
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual jdk.jfr.Recording.setDumpOnExit:(Z)V
70: StackMap locals:
StackMap stack:
aload 3
ifnull 77
71: aload 3
invokevirtual java.lang.Long.longValue:()J
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
astore 14
start local 14 72: aload 12
aload 14
invokevirtual jdk.jfr.Recording.scheduleStart:(Ljava/time/Duration;)V
73: aload 0
new java.lang.StringBuilder
dup
ldc "Recording "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual jdk.jfr.Recording.getId:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " scheduled to start in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.print:(Ljava/lang/String;)V
74: aload 0
aload 14
ldc " "
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.printTimespan:(Ljava/time/Duration;Ljava/lang/String;)V
75: aload 0
ldc "."
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.print:(Ljava/lang/String;)V
end local 14 76: goto 79
77: StackMap locals:
StackMap stack:
aload 12
invokevirtual jdk.jfr.Recording.start:()V
78: aload 0
new java.lang.StringBuilder
dup
ldc "Started recording "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual jdk.jfr.Recording.getId:()J
invokevirtual java.lang.StringBuilder.append:(J)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.DCmdStart.print:(Ljava/lang/String;)V
79: StackMap locals:
StackMap stack:
aload 12
invokevirtual jdk.jfr.Recording.isToDisk:()Z
ifeq 82
aload 4
ifnonnull 82
aload 7
ifnonnull 82
aload 8
ifnonnull 82
80: aload 0
ldc " No limit specified, using maxsize=250MB as default."
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.print:(Ljava/lang/String;)V
81: aload 12
ldc 262144000
invokevirtual jdk.jfr.Recording.setMaxSize:(J)V
82: StackMap locals:
StackMap stack:
aload 13
ifnull 87
aload 4
ifnull 87
83: aload 0
ldc " The result will be written to:"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.println:(Ljava/lang/String;[Ljava/lang/Object;)V
84: aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.println:()V
85: aload 0
aload 13
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.printPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
86: goto 100
87: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.println:()V
88: aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.println:()V
89: aload 4
ifnonnull 90
ldc "dump"
goto 91
StackMap locals:
StackMap stack:
90: ldc "stop"
StackMap locals:
StackMap stack: java.lang.String
91: astore 14
start local 14 92: aload 6
ifnonnull 93
ldc "filename=FILEPATH "
goto 94
StackMap locals: java.lang.String
StackMap stack:
93: ldc ""
StackMap locals:
StackMap stack: java.lang.String
94: astore 15
start local 15 95: new java.lang.StringBuilder
dup
ldc "name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual jdk.jfr.Recording.getId:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 16
start local 16 96: aload 1
ifnull 98
97: new java.lang.StringBuilder
dup
ldc "name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic jdk.jfr.internal.dcmd.DCmdStart.quoteIfNeeded:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 16
98: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Use jcmd "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.getPid:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " JFR."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "to copy recording data to file."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.print:(Ljava/lang/String;)V
99: aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.println:()V
end local 16 end local 15 end local 14 100: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.getResult:()Ljava/lang/String;
areturn
end local 13 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 101 0 this Ljdk/jfr/internal/dcmd/DCmdStart;
0 101 1 name Ljava/lang/String;
0 101 2 settings [Ljava/lang/String;
0 101 3 delay Ljava/lang/Long;
0 101 4 duration Ljava/lang/Long;
0 101 5 disk Ljava/lang/Boolean;
0 101 6 path Ljava/lang/String;
0 101 7 maxAge Ljava/lang/Long;
0 101 8 maxSize Ljava/lang/Long;
0 101 9 dumpOnExit Ljava/lang/Boolean;
0 101 10 pathToGcRoots Ljava/lang/Boolean;
23 101 11 s Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
25 31 12 configName Ljava/lang/String;
28 29 16 e Ljava/io/FileNotFoundException;
30 31 16 e Ljava/lang/Exception;
43 101 12 recording Ljdk/jfr/Recording;
49 101 13 safePath Ljdk/jfr/internal/SecuritySupport$SafePath;
53 58 14 p Ljava/nio/file/Path;
60 62 14 e Ljava/lang/Exception;
72 76 14 dDelay Ljava/time/Duration;
92 100 14 cmd Ljava/lang/String;
95 100 15 fileOption Ljava/lang/String;
96 100 16 recordingspecifier Ljava/lang/String;
Exception table:
from to target type
15 17 17 Class java.lang.NumberFormatException
25 26 27 Class java.io.FileNotFoundException
25 26 29 Class java.io.IOException
25 26 29 Class java.text.ParseException
50 58 59 Class java.io.IOException
50 58 59 Class java.nio.file.InvalidPathException
Exceptions:
throws jdk.jfr.internal.dcmd.DCmdException
MethodParameters:
Name Flags
name
settings
delay
duration
disk
path
maxAge
maxSize
dumpOnExit
pathToGcRoots
private void initializeWithForcedInstrumentation(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jfr.internal.dcmd.DCmdStart.hasJDKEvents:(Ljava/util/Map;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
astore 2
start local 2 3: aload 2
iconst_1
invokevirtual jdk.jfr.internal.JVM.setForceInstrumentation:(Z)V
4: invokestatic jdk.jfr.FlightRecorder.getFlightRecorder:()Ljdk/jfr/FlightRecorder;
pop
5: goto 9
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.util.Map jdk.jfr.internal.JVM
StackMap stack: java.lang.Throwable
6: astore 3
7: aload 2
iconst_0
invokevirtual jdk.jfr.internal.JVM.setForceInstrumentation:(Z)V
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual jdk.jfr.internal.JVM.setForceInstrumentation:(Z)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/dcmd/DCmdStart;
0 11 1 settings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 11 2 jvm Ljdk/jfr/internal/JVM;
Exception table:
from to target type
3 6 6 any
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
settings
private boolean hasJDKEvents(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: bipush 7
anewarray java.lang.String
astore 2
start local 2 1: aload 2
iconst_0
ldc "FileRead"
aastore
2: aload 2
iconst_1
ldc "FileWrite"
aastore
3: aload 2
iconst_2
ldc "SocketRead"
aastore
4: aload 2
iconst_3
ldc "SocketWrite"
aastore
5: aload 2
iconst_4
ldc "JavaErrorThrow"
aastore
6: aload 2
iconst_5
ldc "JavaExceptionThrow"
aastore
7: aload 2
bipush 6
ldc "FileForce"
aastore
8: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 13
StackMap locals: jdk.jfr.internal.dcmd.DCmdStart java.util.Map java.lang.String[] top int int java.lang.String[]
StackMap stack:
9: aload 6
iload 4
aaload
astore 3
start local 3 10: ldc "true"
aload 1
new java.lang.StringBuilder
dup
ldc "jdk."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "#enabled"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iconst_1
ireturn
end local 3 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 5
if_icmplt 9
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/internal/dcmd/DCmdStart;
0 15 1 settings Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 15 2 eventNames [Ljava/lang/String;
10 12 3 eventName Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
settings
}
SourceFile: "DCmdStart.java"
InnerClasses:
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport