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=3, locals=12, 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 4
start local 4 14: goto 96
15: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.util.Iterator
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 16: aconst_null
astore 6
start local 6 17: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 7
start local 7 18: aload 5
iload 7
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 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
21: goto 96
22: StackMap locals: java.lang.StringBuilder java.lang.Throwable int
StackMap stack:
aconst_null
astore 8
start local 8 23: new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
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 9
start local 9 24: new sun.jvmstat.monitor.VmIdentifier
dup
aload 9
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
astore 10
start local 10 25: aload 2
aload 10
iconst_0
invokevirtual sun.jvmstat.monitor.MonitoredHost.getMonitoredVm:(Lsun/jvmstat/monitor/VmIdentifier;I)Lsun/jvmstat/monitor/MonitoredVm;
astore 8
end local 10 26: goto 67
StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String
StackMap stack: java.net.URISyntaxException
27: astore 10
start local 10 28: aload 10
astore 6
29: getstatic sun.tools.jps.Jps.$assertionsDisabled:Z
ifne 30
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 10 30: StackMap locals:
StackMap stack:
aload 8
ifnonnull 78
31: aload 5
ldc " -- process information unavailable"
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.isDebug:()Z
ifeq 37
33: aload 6
ifnull 37
34: aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 37
35: aload 5
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: aload 5
aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
38: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 96
39: aload 6
invokevirtual java.lang.Throwable.printStackTrace:()V
40: goto 96
41: StackMap locals:
StackMap stack: java.lang.Exception
astore 10
start local 10 42: aload 10
astore 6
end local 10 43: aload 8
ifnonnull 78
44: aload 5
ldc " -- process information unavailable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 50
46: aload 6
ifnull 50
47: aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 50
48: aload 5
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
49: aload 5
aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
50: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
51: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 96
52: aload 6
invokevirtual java.lang.Throwable.printStackTrace:()V
53: goto 96
54: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
55: aload 8
ifnonnull 66
56: aload 5
ldc " -- process information unavailable"
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 6
ifnull 62
59: aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 62
60: aload 5
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
61: aload 5
aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
62: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String top java.lang.Throwable
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
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 96
64: aload 6
invokevirtual java.lang.Throwable.printStackTrace:()V
65: goto 96
66: StackMap locals:
StackMap stack:
aload 11
athrow
67: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.util.Iterator java.lang.StringBuilder java.lang.Throwable int sun.jvmstat.monitor.MonitoredVm java.lang.String
StackMap stack:
aload 8
ifnonnull 78
68: aload 5
ldc " -- process information unavailable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.isDebug:()Z
ifeq 74
70: aload 6
ifnull 74
71: aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 74
72: aload 5
ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
73: aload 5
aload 6
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
74: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
75: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.printStackTrace:()Z
ifeq 96
76: aload 6
invokevirtual java.lang.Throwable.printStackTrace:()V
77: goto 96
78: StackMap locals:
StackMap stack:
aload 5
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
79: aload 5
aload 8
80: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showLongPaths:()Z
81: 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
82: getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showMainArgs:()Z
ifeq 86
83: aload 8
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.mainArgs:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 10
start local 10 84: aload 10
ifnull 86
aload 10
invokevirtual java.lang.String.length:()I
ifle 86
85: aload 5
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 86: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showVmArgs:()Z
ifeq 90
87: aload 8
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.jvmArgs:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 10
start local 10 88: aload 10
ifnull 90
aload 10
invokevirtual java.lang.String.length:()I
ifle 90
89: aload 5
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 90: StackMap locals:
StackMap stack:
getstatic sun.tools.jps.Jps.arguments:Lsun/tools/jps/Arguments;
invokevirtual sun.tools.jps.Arguments.showVmFlags:()Z
ifeq 94
91: aload 8
invokestatic sun.jvmstat.monitor.MonitoredVmUtil.jvmFlags:(Lsun/jvmstat/monitor/MonitoredVm;)Ljava/lang/String;
astore 10
start local 10 92: aload 10
ifnull 94
aload 10
invokevirtual java.lang.String.length:()I
ifle 94
93: aload 5
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 94: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
95: aload 2
aload 8
invokevirtual sun.jvmstat.monitor.MonitoredHost.detach:(Lsun/jvmstat/monitor/MonitoredVm;)V
end local 9 end local 8 end local 7 end local 6 end local 5 96: StackMap locals: java.lang.String[] sun.jvmstat.monitor.HostIdentifier sun.jvmstat.monitor.MonitoredHost java.util.Set java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 4 end local 3 end local 2 end local 1 97: goto 107
StackMap locals: java.lang.String[]
StackMap stack: sun.jvmstat.monitor.MonitorException
98: astore 1
start local 1 99: aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getMessage:()Ljava/lang/String;
ifnull 102
100: 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
101: goto 107
102: StackMap locals: sun.jvmstat.monitor.MonitorException
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.getCause:()Ljava/lang/Throwable;
astore 2
start local 2 103: aload 2
ifnull 106
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
ifnull 106
104: 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
105: goto 107
106: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokevirtual sun.jvmstat.monitor.MonitorException.printStackTrace:()V
end local 2 end local 1 107: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 108 0 args [Ljava/lang/String;
3 6 1 e Ljava/lang/IllegalArgumentException;
10 97 1 hostId Lsun/jvmstat/monitor/HostIdentifier;
12 97 2 monitoredHost Lsun/jvmstat/monitor/MonitoredHost;
13 97 3 jvms Ljava/util/Set;
14 97 4 j Ljava/util/Iterator;
16 96 5 output Ljava/lang/StringBuilder;
17 96 6 lastError Ljava/lang/Throwable;
18 96 7 lvmid I
23 96 8 vm Lsun/jvmstat/monitor/MonitoredVm;
24 96 9 vmidString Ljava/lang/String;
25 26 10 id Lsun/jvmstat/monitor/VmIdentifier;
28 30 10 e Ljava/net/URISyntaxException;
42 43 10 e Ljava/lang/Exception;
84 86 10 mainArgs Ljava/lang/String;
88 90 10 jvmArgs Ljava/lang/String;
92 94 10 jvmFlags Ljava/lang/String;
99 107 1 e Lsun/jvmstat/monitor/MonitorException;
103 107 2 cause Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
24 26 27 Class java.net.URISyntaxException
24 26 41 Class java.lang.Exception
24 30 54 any
41 43 54 any
9 97 98 Class sun.jvmstat.monitor.MonitorException
MethodParameters:
Name Flags
args
}
SourceFile: "Jps.java"