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: iconst_1
invokestatic java.lang.System.exit:(I)V
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.err: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 104
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 104
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
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
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;
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
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 13
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 44
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 44
aload 13
invokevirtual java.lang.String.length:()I
ifle 44
41: aload 6
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
42: aload 13
ldc "\n"
ldc "\\n"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "\r"
ldc "\\r"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
43: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 44: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showVmFlags:()Z
ifeq 49
45: ldc " -- jvm flags information unavailable"
astore 11
46: aload 9
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.jvmFlags:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 13
start local 13 47: aload 13
ifnull 49
aload 13
invokevirtual java.lang.String.length:()I
ifle 49
48: aload 6
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 49: StackMap locals:
StackMap stack:
ldc " -- detach failed"
astore 11
50: aload 2
aload 9
invokevirtual sun.jvmstat.monitor.MonitoredHost.detach:(Lsun/jvmstat/monitor/MonitoredVm;)V
51: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
52: aconst_null
astore 11
end local 12 53: goto 94
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
54: astore 12
start local 12 55: aload 12
astore 7
56: getstatic sun.tools.jps.Jps.$assertionsDisabled:Z
ifne 57
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 12 57: StackMap locals:
StackMap stack:
aload 11
ifnull 104
58: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
59: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 64
60: aload 7
ifnull 64
61: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 64
62: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
63: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
64: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
65: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 104
66: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
67: goto 104
68: StackMap locals:
StackMap stack: java.lang.Exception
astore 12
start local 12 69: aload 12
astore 7
end local 12 70: aload 11
ifnull 104
71: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
72: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 77
73: aload 7
ifnull 77
74: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 77
75: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
76: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
77: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
78: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 104
79: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
80: goto 104
81: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
82: aload 11
ifnull 93
83: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
84: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 89
85: aload 7
ifnull 89
86: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 89
87: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
88: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
89: 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
90: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 104
91: aload 7
invokevirtual java.lang.Throwable.printStackTrace:()V
92: goto 104
93: StackMap locals:
StackMap stack:
aload 14
athrow
94: 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 104
95: aload 6
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
96: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 101
97: aload 7
ifnull 101
98: aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 101
99: aload 6
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
100: aload 6
aload 7
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
101: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 6
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
102: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 104
103: 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 104: 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 105: goto 116
StackMap locals: java.lang.String[]
StackMap stack: sun.jvmstat.monitor.MonitorException
106: astore 1
start local 1 107: aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getMessage:()Ljava/lang/String;
ifnull 110
108: 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
109: goto 115
110: StackMap locals: sun.jvmstat.monitor.MonitorException
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 111: aload 2
ifnull 114
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 114
112: 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
113: goto 115
114: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.printStackTrace:()V
end local 2 115: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
end local 1 116: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 117 0 args [Ljava/lang/String;
3 6 1 e Ljava/lang/IllegalArgumentException;
10 105 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
12 105 2 monitoredHost Lsun/jvmstat/monitor/MonitoredHost;
13 105 3 jvms Ljava/util/Set<Ljava/lang/Integer;>;
15 104 4 jvm Ljava/lang/Integer;
16 104 6 output Ljava/lang/StringBuilder;
17 104 7 lastError Ljava/lang/Throwable;
18 104 8 lvmid I
23 104 9 vm Lsun/jvmstat/monitor/MonitoredVm;
24 104 10 vmidString Ljava/lang/String;
25 104 11 errorString Ljava/lang/String;
27 53 12 id Lsun/jvmstat/monitor/VmIdentifier;
35 37 13 mainArgs Ljava/lang/String;
40 44 13 jvmArgs Ljava/lang/String;
47 49 13 jvmFlags Ljava/lang/String;
55 57 12 e Ljava/net/URISyntaxException;
69 70 12 e Ljava/lang/Exception;
107 116 1 e Lsun/jvmstat/monitor/MonitorException;
111 115 2 cause Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
25 53 54 Class java.net.URISyntaxException
25 53 68 Class java.lang.Exception
25 57 81 any
68 70 81 any
9 105 106 Class sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
args
}
SourceFile: "Jps.java"