public class sun.tools.jps.Jps
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jps.Jps
super_class: java.lang.Object
{
private static sun.tools.jps.Arguments arguments;
descriptor: Lsun/tools/jps/Arguments;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/tools/jps/Jps;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.tools.jps.Jps.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
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/jps/Jps;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=15, args_size=1
start local 0 0: new sun.tools.jps.Arguments
dup
aload 0
invokespecial sun.tools.jps.Arguments.<init>:([Ljava/lang/String;)V
putstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
1: goto 6
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
2: astore 1
start local 1 3: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokestatic sun.tools.jps.Arguments.printUsage:(Ljava/io/PrintStream;)V
5: return
end local 1 6: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isHelp:()Z
ifeq 9
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic sun.tools.jps.Arguments.printUsage:(Ljava/io/PrintStream;)V
8: iconst_0
invokestatic java.lang.System.exit:(I)V
9: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.hostId:()Lsun/jvmstat/monitor/HostIdentifier;
astore 1
start local 1 10: aload 1
invokestatic sun.jvmstat.monitor.MonitoredHost.getMonitoredHost:(Lsun/jvmstat/monitor/HostIdentifier;)Lsun/jvmstat/monitor/MonitoredHost;
11: astore 2
start local 2 12: aload 2
invokevirtual sun.jvmstat.monitor.MonitoredHost.activeVms:()Ljava/util/Set;
astore 3
start local 3 13: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 102
StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 15: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 16: aconst_null
astore 7
start local 7 17: aload 4
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 18: aload 6
iload 8
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isQuiet:()Z
ifeq 22
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
21: goto 102
22: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Integer java.util.Iterator java.lang.StringBuilder java.lang.Throwable int
StackMap stack:
aconst_null
astore 9
start local 9 23: new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 8
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "?mode=r"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 24: aconst_null
astore 11
start local 11 25: ldc " -- process information unavailable"
astore 11
26: new sun.jvmstat.monitor.VmIdentifier
dup
aload 10
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
astore 12
start local 12 27: aload 2
aload 12
iconst_0
invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
astore 9
28: ldc " -- main class information unavailable"
astore 11
29: aload 6
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
30: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showLongPaths:()Z
31: invokestatic sun.jvmstat.monitor.MonitoredVmUtil.mainClass:(Lsun/jvmstat/monitor/MonitoredVm;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showMainArgs:()Z
ifeq 37
33: ldc " -- main args information unavailable"
astore 11
34: aload 9
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.mainArgs:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 13
start local 13 35: aload 13
ifnull 37
aload 13
invokevirtual java.lang.String.length:()I
ifle 37
36: aload 6
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 37: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Integer java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String java.lang.String sun.jvmstat.monitor.VmIdentifier
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showVmArgs:()Z
ifeq 42
38: ldc " -- jvm args information unavailable"
astore 11
39: aload 9
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.jvmArgs:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 13
start local 13 40: aload 13
ifnull 42
aload 13
invokevirtual java.lang.String.length:()I
ifle 42
41: aload 6
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 42: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showVmFlags:()Z
ifeq 47
43: ldc " -- jvm flags information unavailable"
astore 11
44: aload 9
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.jvmFlags:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 13
start local 13 45: aload 13
ifnull 47
aload 13
invokevirtual java.lang.String.length:()I
ifle 47
46: aload 6
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 47: StackMap locals:
StackMap stack:
ldc " -- detach failed"
astore 11
48: aload 2
aload 9
invokevirtual sun.jvmstat.monitor.MonitoredHost.detach:(Lsun/jvmstat/monitor/MonitoredVm;)V
49: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
50: aconst_null
astore 11
end local 12 51: goto 92
StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Integer java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String java.lang.String
StackMap stack: java.net.URISyntaxException
52: astore 12
start local 12 53: aload 12
astore 7
54: getstatic sun.tools.jps.Jps.$assertionsDisabled:Z
ifne 55
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 12 55: StackMap locals:
StackMap stack:
aload 11
ifnull 102
56: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
57: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 62
58: aload 7
ifnull 62
59: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 62
60: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
61: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
62: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
63: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 102
64: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
65: goto 102
66: StackMap locals:
StackMap stack: java.lang.Exception
astore 12
start local 12 67: aload 12
astore 7
end local 12 68: aload 11
ifnull 102
69: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
70: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 75
71: aload 7
ifnull 75
72: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 75
73: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
74: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
75: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
76: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 102
77: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
78: goto 102
79: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
80: aload 11
ifnull 91
81: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
82: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 87
83: aload 7
ifnull 87
84: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 87
85: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
86: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
87: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Integer java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String java.lang.String top top java.lang.Throwable
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
88: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 102
89: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
90: goto 102
91: StackMap locals:
StackMap stack:
aload 14
athrow
92: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.lang.Integer java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String java.lang.String
StackMap stack:
aload 11
ifnull 102
93: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
94: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 99
95: aload 7
ifnull 99
96: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 99
97: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
98: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
99: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
100: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 102
101: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 102: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 3 end local 2 end local 1 103: goto 113
StackMap locals: java.lang.String[]
StackMap stack: sun.jvmstat.monitor.MonitorException
104: astore 1
start local 1 105: aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getMessage:()Ljava/lang/String;
ifnull 108
106: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
107: goto 113
108: StackMap locals: sun.jvmstat.monitor.MonitorException
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 109: aload 2
ifnull 112
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 112
110: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
111: goto 113
112: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.printStackTrace:()V
end local 2 end local 1 113: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 114 0 args [Ljava/lang/String;
3 6 1 e Ljava/lang/IllegalArgumentException;
10 103 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
12 103 2 monitoredHost Lsun/jvmstat/monitor/MonitoredHost;
13 103 3 jvms Ljava/util/Set<Ljava/lang/Integer;>;
15 102 4 jvm Ljava/lang/Integer;
16 102 6 output Ljava/lang/StringBuilder;
17 102 7 lastError Ljava/lang/Throwable;
18 102 8 lvmid I
23 102 9 vm Lsun/jvmstat/monitor/MonitoredVm;
24 102 10 vmidString Ljava/lang/String;
25 102 11 errorString Ljava/lang/String;
27 51 12 id Lsun/jvmstat/monitor/VmIdentifier;
35 37 13 mainArgs Ljava/lang/String;
40 42 13 jvmArgs Ljava/lang/String;
45 47 13 jvmFlags Ljava/lang/String;
53 55 12 e Ljava/net/URISyntaxException;
67 68 12 e Ljava/lang/Exception;
105 113 1 e Lsun/jvmstat/monitor/MonitorException;
109 113 2 cause Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
25 51 52 Class java.net.URISyntaxException
25 51 66 Class java.lang.Exception
25 55 79 any
66 68 79 any
9 103 104 Class sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
args
}
SourceFile: "Jps.java"