public class sun.tools.jcmd.JCmd
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jcmd.JCmd
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jcmd/JCmd;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new sun.tools.jcmd.Arguments
dup
aload 0
invokespecial sun.tools.jcmd.Arguments.<init>:([Ljava/lang/String;)V
astore 1
2: goto 9
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments
StackMap stack: java.lang.IllegalArgumentException
3: astore 2
start local 2 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Error parsing arguments: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: invokestatic sun.tools.jcmd.Arguments.usage:()V
8: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.tools.jcmd.Arguments.isShowUsage:()Z
ifeq 12
10: invokestatic sun.tools.jcmd.Arguments.usage:()V
11: iconst_1
invokestatic java.lang.System.exit:(I)V
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.tools.jcmd.Arguments.isListProcesses:()Z
ifeq 19
13: invokestatic com.sun.tools.attach.VirtualMachine.list:()Ljava/util/List;
astore 2
start local 2 14: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 17
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List top java.util.Iterator
StackMap stack:
15: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.attach.VirtualMachineDescriptor
astore 3
start local 3 16: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 3
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.displayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 17: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: iconst_0
invokestatic java.lang.System.exit:(I)V
end local 2 19: StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 20: aload 1
invokevirtual sun.tools.jcmd.Arguments.getPid:()I
ifne 28
21: invokestatic com.sun.tools.attach.VirtualMachine.list:()Ljava/util/List;
astore 3
start local 3 22: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 26
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List java.util.List top java.util.Iterator
StackMap stack:
23: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.attach.VirtualMachineDescriptor
astore 4
start local 4 24: aload 4
invokestatic sun.tools.jcmd.JCmd.isJCmdProcess:(Lcom/sun/tools/attach/VirtualMachineDescriptor;)Z
ifne 26
25: aload 2
aload 4
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 26: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
end local 3 27: goto 60
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List
StackMap stack:
28: aload 1
invokevirtual sun.tools.jcmd.Arguments.getProcessSubstring:()Ljava/lang/String;
ifnull 55
29: invokestatic com.sun.tools.attach.VirtualMachine.list:()Ljava/util/List;
astore 3
start local 3 30: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 48
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List java.util.List top java.util.Iterator
StackMap stack:
31: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.attach.VirtualMachineDescriptor
astore 4
start local 4 32: aload 4
invokestatic sun.tools.jcmd.JCmd.isJCmdProcess:(Lcom/sun/tools/attach/VirtualMachineDescriptor;)Z
ifeq 34
33: goto 48
34: StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List java.util.List com.sun.tools.attach.VirtualMachineDescriptor java.util.Iterator
StackMap stack:
aload 4
invokestatic sun.tools.jcmd.JCmd.getMainClass:(Lcom/sun/tools/attach/VirtualMachineDescriptor;)Ljava/lang/String;
astore 6
start local 6 35: aload 6
ifnull 48
36: aload 6
aload 1
invokevirtual sun.tools.jcmd.Arguments.getProcessSubstring:()Ljava/lang/String;
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 48
37: aload 2
aload 4
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 38: goto 48
StackMap locals:
StackMap stack: java.lang.Exception
39: astore 6
start local 6 40: aload 6
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
ifnull 43
41: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 6
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
42: goto 48
43: StackMap locals: java.lang.Exception
StackMap stack:
aload 6
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
astore 7
start local 7 44: aload 7
ifnull 47
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 47
45: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
46: goto 48
47: StackMap locals: java.lang.Throwable
StackMap stack:
aload 6
invokevirtual java.lang.Exception.printStackTrace:()V
end local 7 end local 6 end local 4 48: StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
49: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 60
50: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Could not find any processes matching : '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
51: aload 1
invokevirtual sun.tools.jcmd.Arguments.getProcessSubstring:()Ljava/lang/String;
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;
52: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
53: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 3 54: goto 60
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List
StackMap stack:
55: aload 1
invokevirtual sun.tools.jcmd.Arguments.getPid:()I
iconst_m1
if_icmpne 59
56: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Invalid pid specified"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
57: iconst_1
invokestatic java.lang.System.exit:(I)V
58: goto 60
59: StackMap locals:
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
aload 1
invokevirtual sun.tools.jcmd.Arguments.getPid:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
60: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 70
StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List top java.util.Iterator
StackMap stack:
61: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 62: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
63: aload 1
invokevirtual sun.tools.jcmd.Arguments.isListCounters:()Z
ifeq 66
64: aload 3
invokestatic sun.tools.jcmd.JCmd.listCounters:(Ljava/lang/String;)V
65: goto 70
66: StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 3
aload 1
invokevirtual sun.tools.jcmd.Arguments.getCommand:()Ljava/lang/String;
invokestatic sun.tools.jcmd.JCmd.executeCommandForPid:(Ljava/lang/String;Ljava/lang/String;)V
67: goto 70
StackMap locals:
StackMap stack: java.lang.Exception
68: astore 5
start local 5 69: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 end local 3 70: StackMap locals: java.lang.String[] sun.tools.jcmd.Arguments java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 61
71: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 args [Ljava/lang/String;
1 72 1 arg Lsun/tools/jcmd/Arguments;
4 9 2 ex Ljava/lang/IllegalArgumentException;
14 19 2 vmds Ljava/util/List<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;
16 17 3 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
20 72 2 pids Ljava/util/List<Ljava/lang/String;>;
22 27 3 vmds Ljava/util/List<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;
24 26 4 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
30 54 3 vmds Ljava/util/List<Lcom/sun/tools/attach/VirtualMachineDescriptor;>;
32 48 4 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
35 38 6 mainClass Ljava/lang/String;
40 48 6 e Ljava/lang/Exception;
44 48 7 cause Ljava/lang/Throwable;
62 70 3 pid Ljava/lang/String;
69 70 5 ex Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
34 38 39 Class sun.jvmstat.monitor.MonitorException
34 38 39 Class java.net.URISyntaxException
66 67 68 Class java.lang.Exception
MethodParameters:
Name Flags
args
private static void executeCommandForPid(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=15, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.sun.tools.attach.VirtualMachine.attach:(Ljava/lang/String;)Lcom/sun/tools/attach/VirtualMachine;
astore 2
start local 2 1: aload 2
checkcast sun.tools.attach.HotSpotVirtualMachine
astore 3
start local 3 2: aload 1
ldc "\\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 3: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 23
StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[] top int int java.lang.String[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: aload 5
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: goto 24
7: StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aconst_null
astore 9
aconst_null
astore 10
8: aload 3
aload 5
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeJCmd:(Ljava/lang/String;)Ljava/io/InputStream;
astore 11
start local 11 9: sipush 256
newarray 8
astore 12
start local 12 10: StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[] java.lang.String int int java.lang.String[] java.lang.Throwable java.lang.Throwable java.io.InputStream byte[]
StackMap stack:
aload 11
aload 12
invokevirtual java.io.InputStream.read:([B)I
istore 13
start local 13 11: iload 13
ifle 14
12: new java.lang.String
dup
aload 12
iconst_0
iload 13
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
astore 14
start local 14 13: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 14
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 14 14: StackMap locals: int
StackMap stack:
iload 13
15: ifgt 10
end local 13 end local 12 16: aload 11
ifnull 22
aload 11
invokevirtual java.io.InputStream.close:()V
goto 22
StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[] java.lang.String int int java.lang.String[] java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
17: astore 9
aload 11
ifnull 18
aload 11
invokevirtual java.io.InputStream.close:()V
end local 11 StackMap locals:
StackMap stack:
18: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 10
aload 9
ifnonnull 20
aload 10
astore 9
goto 21
StackMap locals:
StackMap stack:
20: aload 9
aload 10
if_acmpeq 21
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 9
athrow
end local 5 22: StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
iload 7
if_icmplt 4
24: StackMap locals: java.lang.String java.lang.String com.sun.tools.attach.VirtualMachine sun.tools.attach.HotSpotVirtualMachine java.lang.String[]
StackMap stack:
aload 2
invokevirtual com.sun.tools.attach.VirtualMachine.detach:()V
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 pid Ljava/lang/String;
0 26 1 command Ljava/lang/String;
1 26 2 vm Lcom/sun/tools/attach/VirtualMachine;
2 26 3 hvm Lsun/tools/attach/HotSpotVirtualMachine;
3 26 4 lines [Ljava/lang/String;
5 22 5 line Ljava/lang/String;
9 18 11 in Ljava/io/InputStream;
10 16 12 b [B
11 16 13 n I
13 14 14 s Ljava/lang/String;
Exception table:
from to target type
9 16 17 any
8 19 19 any
Exceptions:
throws com.sun.tools.attach.AttachNotSupportedException, java.io.IOException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
pid
command
private static void listCounters(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new sun.jvmstat.monitor.VmIdentifier
dup
aload 0
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
astore 1
2: goto 6
StackMap locals: java.lang.String sun.jvmstat.monitor.VmIdentifier
StackMap stack: java.net.URISyntaxException
3: pop
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Malformed VM Identifier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
astore 2
start local 2 7: aload 2
aload 1
iconst_m1
invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
astore 3
start local 3 8: new sun.tools.jstat.JStatLogger
dup
aload 3
invokespecial sun.tools.jstat.JStatLogger.<init>:(Lsun/jvmstat/monitor/MonitoredVm;)V
astore 4
start local 4 9: aload 4
ldc "\\w*"
10: new sun.tools.jcmd.JCmd$AscendingMonitorComparator
dup
invokespecial sun.tools.jcmd.JCmd$AscendingMonitorComparator.<init>:()V
11: iconst_0
12: iconst_1
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
14: invokevirtual sun.tools.jstat.JStatLogger.printSnapShot:(Ljava/lang/String;Ljava/util/Comparator;ZZLjava/io/PrintStream;)V
15: aload 2
aload 3
invokevirtual sun.jvmstat.monitor.MonitoredHost.detach:(Lsun/jvmstat/monitor/MonitoredVm;)V
end local 4 end local 3 end local 2 16: goto 19
StackMap locals:
StackMap stack: sun.jvmstat.monitor.MonitorException
17: astore 2
start local 2 18: aload 2
invokevirtual sun.jvmstat.monitor.MonitorException.printStackTrace:()V
end local 2 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 pid Ljava/lang/String;
1 20 1 vmId Lsun/jvmstat/monitor/VmIdentifier;
7 16 2 monitoredHost Lsun/jvmstat/monitor/MonitoredHost;
8 16 3 monitoredVm Lsun/jvmstat/monitor/MonitoredVm;
9 16 4 logger Lsun/tools/jstat/JStatLogger;
18 19 2 ex Lsun/jvmstat/monitor/MonitorException;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
6 16 17 Class sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
pid
private static boolean isJCmdProcess(com.sun.tools.attach.VirtualMachineDescriptor);
descriptor: (Lcom/sun/tools/attach/VirtualMachineDescriptor;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.tools.jcmd.JCmd.getMainClass:(Lcom/sun/tools/attach/VirtualMachineDescriptor;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
ldc Lsun/tools/jcmd/JCmd;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
3: ireturn
end local 1 4: StackMap locals: com.sun.tools.attach.VirtualMachineDescriptor
StackMap stack: java.lang.Exception
pop
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
1 4 1 mainClass Ljava/lang/String;
Exception table:
from to target type
0 3 4 Class java.net.URISyntaxException
0 3 4 Class sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmd
private static java.lang.String getMainClass(com.sun.tools.attach.VirtualMachineDescriptor);
descriptor: (Lcom/sun/tools/attach/VirtualMachineDescriptor;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new sun.jvmstat.monitor.VmIdentifier
dup
aload 0
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/VmIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
astore 3
start local 3 3: aload 3
aload 2
iconst_m1
invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
astore 4
start local 4 4: aload 4
iconst_1
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.mainClass:(Lsun/jvmstat/monitor/MonitoredVm;Z)Ljava/lang/String;
astore 1
5: aload 3
aload 4
invokevirtual sun.jvmstat.monitor.MonitoredHost.detach:(Lsun/jvmstat/monitor/MonitoredVm;)V
6: aload 1
7: areturn
end local 4 end local 3 end local 2 end local 1 8: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
9: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 vmd Lcom/sun/tools/attach/VirtualMachineDescriptor;
1 8 1 mainClass Ljava/lang/String;
2 8 2 vmId Lsun/jvmstat/monitor/VmIdentifier;
3 8 3 monitoredHost Lsun/jvmstat/monitor/MonitoredHost;
4 8 4 monitoredVm Lsun/jvmstat/monitor/MonitoredVm;
Exception table:
from to target type
0 7 8 Class java.lang.NullPointerException
Exceptions:
throws java.net.URISyntaxException, sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
vmd
}
SourceFile: "JCmd.java"
NestMembers:
sun.tools.jcmd.JCmd$AscendingMonitorComparator
InnerClasses:
AscendingMonitorComparator = sun.tools.jcmd.JCmd$AscendingMonitorComparator of sun.tools.jcmd.JCmd