public class sun.tools.jstat.Arguments
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jstat.Arguments
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean showUnsupported;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String JVMSTAT_USERDIR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".jvmstat"
private static final java.lang.String OPTIONS_FILENAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jstat_options"
private static final java.lang.String UNSUPPORTED_OPTIONS_FILENAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jstat_unsupported_options"
private static final java.lang.String ALL_NAMES;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\\w*"
private java.util.Comparator<sun.jvmstat.monitor.Monitor> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;
private int ;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean help;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean list;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean options;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean constants;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean constantsOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean strings;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean timestamp;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean snap;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean verbose;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String specialOption;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String names;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.tools.jstat.OptionFormat optionFormat;
descriptor: Lsun/tools/jstat/OptionFormat;
flags: (0x0002) ACC_PRIVATE
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int interval;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String vmIdString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.jvmstat.monitor.VmIdentifier vmId;
descriptor: Lsun/jvmstat/monitor/VmIdentifier;
flags: (0x0002) ACC_PRIVATE
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/jstat/Arguments;
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.jstat.Arguments.$assertionsDisabled:Z
3: ldc "jstat.debug"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic sun.tools.jstat.Arguments.debug:Z
4: ldc "jstat.showUnsupported"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
5: putstatic sun.tools.jstat.Arguments.showUnsupported:Z
6: return
LocalVariableTable:
Start End Slot Name Signature
public static void printUsage(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Usage: jstat -help|-options"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
ldc " jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
invokevirtual java.io.PrintStream.println:()V
3: aload 0
ldc "Definitions:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: aload 0
ldc " <option> An option reported by the -options option"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
ldc " <vmid> Virtual Machine Identifier. A vmid takes the following form:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aload 0
ldc " <lvmid>[@<hostname>[:<port>]]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: aload 0
ldc " Where <lvmid> is the local vm identifier for the target"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 0
ldc " Java virtual machine, typically a process id; <hostname> is"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: aload 0
ldc " the name of the host running the target Java virtual machine;"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: aload 0
ldc " and <port> is the port number for the rmiregistry on the"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 0
ldc " target host. See the jvmstat documentation for a more complete"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 0
ldc " description of the Virtual Machine Identifier."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: aload 0
ldc " <lines> Number of samples between header lines."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: aload 0
ldc " <interval> Sampling interval. The following forms are allowed:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: aload 0
ldc " <n>[\"ms\"|\"s\"]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: aload 0
ldc " Where <n> is an integer and the suffix specifies the units as "
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: aload 0
ldc " milliseconds(\"ms\") or seconds(\"s\"). The default units are \"ms\"."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: aload 0
ldc " <count> Number of samples to take before terminating."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: aload 0
ldc " -J<flag> Pass <flag> directly to the runtime system."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 ps Ljava/io/PrintStream;
MethodParameters:
Name Flags
ps
private static int toMillis(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "ms"
aastore
dup
iconst_1
ldc "s"
aastore
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 11
5: StackMap locals: java.lang.String java.lang.String[] java.lang.String java.lang.String int
StackMap stack:
aload 0
aload 1
iload 4
aaload
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 6: iload 5
ifle 10
7: aload 0
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
8: aload 0
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
9: goto 12
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 1
arraylength
if_icmplt 5
end local 4 12: StackMap locals:
StackMap stack:
aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 13: aload 2
ifnull 14
aload 2
ldc "ms"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 16
14: StackMap locals: int
StackMap stack:
iload 4
15: ireturn
16: StackMap locals:
StackMap stack:
aload 2
ldc "s"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 19
17: iload 4
sipush 1000
imul
18: ireturn
19: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
20: new java.lang.StringBuilder
dup
ldc "Unknow time unit: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 22: StackMap locals: java.lang.String java.lang.String[] java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
23: new java.lang.IllegalArgumentException
dup
24: new java.lang.StringBuilder
dup
ldc "Could not convert interval: "
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;
25: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 s Ljava/lang/String;
1 26 1 unitStrings [Ljava/lang/String;
2 26 2 unitString Ljava/lang/String;
3 26 3 valueString Ljava/lang/String;
4 12 4 i I
6 10 5 index I
13 22 4 value I
Exception table:
from to target type
12 15 22 Class java.lang.NumberFormatException
16 18 22 Class java.lang.NumberFormatException
19 22 22 Class java.lang.NumberFormatException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
s
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.tools.jstat.Arguments.count:I
2: aload 0
iconst_m1
putfield sun.tools.jstat.Arguments.interval:I
3: iconst_0
istore 2
start local 2 4: aload 1
arraylength
iconst_1
if_icmpge 6
5: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.tools.jstat.Arguments java.lang.String[] int
StackMap stack:
aload 1
iconst_0
aaload
ldc "-?"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 8
7: aload 1
iconst_0
aaload
ldc "-help"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 10
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.help:Z
9: return
10: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
ldc "-options"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 13
11: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.options:Z
12: return
13: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
ldc "-list"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 88
14: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.list:Z
15: aload 1
arraylength
iconst_2
if_icmple 17
16: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
iinc 2 1
18: goto 88
19: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 20: aload 3
ldc "-a"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 23
21: aload 0
new sun.tools.jstat.AscendingMonitorComparator
dup
invokespecial sun.tools.jstat.AscendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
22: goto 87
StackMap locals: java.lang.String
StackMap stack:
23: aload 3
ldc "-d"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 26
24: aload 0
new sun.tools.jstat.DescendingMonitorComparator
dup
invokespecial sun.tools.jstat.DescendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
25: goto 87
StackMap locals:
StackMap stack:
26: aload 3
ldc "-t"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 29
27: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.timestamp:Z
28: goto 87
StackMap locals:
StackMap stack:
29: aload 3
ldc "-v"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 32
30: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.verbose:Z
31: goto 87
StackMap locals:
StackMap stack:
32: aload 3
ldc "-constants"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 34
33: aload 3
ldc "-c"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 36
34: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.constants:Z
35: goto 87
StackMap locals:
StackMap stack:
36: aload 3
ldc "-strings"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 38
37: aload 3
ldc "-s"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 40
38: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.strings:Z
39: goto 87
StackMap locals:
StackMap stack:
40: aload 3
ldc "-h"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 58
41: aload 3
ldc "-h"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 44
42: aload 3
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 43: goto 50
end local 4 44: StackMap locals:
StackMap stack:
iinc 2 1
45: iload 2
aload 1
arraylength
if_icmplt 49
46: new java.lang.IllegalArgumentException
dup
47: ldc "-h requires an integer argument"
48: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 4
start local 4 50: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.tools.jstat.Arguments.headerRate:I
51: goto 54
StackMap locals:
StackMap stack: java.lang.NumberFormatException
52: pop
53: aload 0
iconst_m1
putfield sun.tools.jstat.Arguments.headerRate:I
54: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.headerRate:I
ifge 87
55: new java.lang.IllegalArgumentException
dup
56: new java.lang.StringBuilder
dup
ldc "illegal -h argument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
57: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 58: StackMap locals:
StackMap stack:
aload 3
ldc "-name"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 69
59: aload 3
ldc "-name="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 62
60: aload 0
aload 3
bipush 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
61: goto 87
62: StackMap locals:
StackMap stack:
iinc 2 1
63: iload 2
aload 1
arraylength
if_icmplt 67
64: new java.lang.IllegalArgumentException
dup
65: ldc "option argument expected"
66: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
67: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
68: goto 87
69: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 70: aload 1
iload 2
aaload
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 71: iload 5
ifge 74
72: aload 1
iload 2
aaload
astore 4
73: goto 75
74: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iload 2
aaload
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
75: StackMap locals:
StackMap stack:
aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
76: goto 89
77: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
78: iload 2
ifne 81
aload 1
iload 2
aaload
ldc "-snap"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 81
79: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.snap:Z
80: goto 87
StackMap locals:
StackMap stack:
81: iload 2
ifne 84
82: aload 0
aload 1
iload 2
aaload
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
83: goto 87
84: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
85: new java.lang.StringBuilder
dup
ldc "illegal argument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
86: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 87: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
88: iload 2
aload 1
arraylength
if_icmpge 89
aload 1
iload 2
aaload
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 19
89: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
ifnonnull 91
aload 0
getfield sun.tools.jstat.Arguments.list:Z
ifne 91
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifne 91
aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
ifnonnull 91
90: new java.lang.IllegalArgumentException
dup
ldc "-<option> required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
91: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
tableswitch { // 0 - 3
0: 110
1: 108
2: 103
3: 92
default: 112
}
92: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifeq 94
93: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
94: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.tools.jstat.Arguments.count:I
95: goto 100
StackMap locals:
StackMap stack: java.lang.NumberFormatException
96: pop
97: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal count value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
98: aload 1
aload 1
arraylength
iconst_1
isub
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
99: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
100: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_2
isub
aaload
invokestatic sun.tools.jstat.Arguments.toMillis:(Ljava/lang/String;)I
putfield sun.tools.jstat.Arguments.interval:I
101: aload 0
aload 1
aload 1
arraylength
iconst_3
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
102: goto 113
103: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifeq 105
104: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
105: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
invokestatic sun.tools.jstat.Arguments.toMillis:(Ljava/lang/String;)I
putfield sun.tools.jstat.Arguments.interval:I
106: aload 0
aload 1
aload 1
arraylength
iconst_2
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
107: goto 113
108: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
109: goto 113
110: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.list:Z
ifne 113
111: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
112: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
113: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.count:I
iconst_m1
if_icmpne 116
aload 0
getfield sun.tools.jstat.Arguments.interval:I
iconst_m1
if_icmpne 116
114: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.count:I
115: aload 0
iconst_0
putfield sun.tools.jstat.Arguments.interval:I
116: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
ifnonnull 118
117: aload 0
new sun.tools.jstat.AscendingMonitorComparator
dup
invokespecial sun.tools.jstat.AscendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
118: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
ifnonnull 119
ldc "\\w*"
goto 120
StackMap locals:
StackMap stack: sun.tools.jstat.Arguments
119: aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
bipush 44
bipush 124
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
StackMap locals: sun.tools.jstat.Arguments java.lang.String[] int
StackMap stack: sun.tools.jstat.Arguments java.lang.String
120: putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
121: aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
pop
122: goto 127
StackMap locals:
StackMap stack: java.util.regex.PatternSyntaxException
123: astore 3
start local 3 124: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad name pattern: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
125: aload 3
invokevirtual java.util.regex.PatternSyntaxException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
126: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 127: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
ifnull 134
128: new sun.tools.jstat.OptionFinder
dup
aload 0
invokevirtual sun.tools.jstat.Arguments.optionsSources:()Ljava/util/List;
invokespecial sun.tools.jstat.OptionFinder.<init>:(Ljava/util/List;)V
astore 3
start local 3 129: aload 0
aload 3
aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
aload 0
getfield sun.tools.jstat.Arguments.timestamp:Z
invokevirtual sun.tools.jstat.OptionFinder.getOptionFormat:(Ljava/lang/String;Z)Lsun/tools/jstat/OptionFormat;
putfield sun.tools.jstat.Arguments.optionFormat:Lsun/tools/jstat/OptionFormat;
130: aload 0
getfield sun.tools.jstat.Arguments.optionFormat:Lsun/tools/jstat/OptionFormat;
ifnonnull 134
131: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown option: -"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
132: aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
133: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 134: StackMap locals:
StackMap stack:
aload 0
new sun.jvmstat.monitor.VmIdentifier
dup
aload 0
getfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
invokespecial sun.jvmstat.monitor.VmIdentifier.<init>:(Ljava/lang/String;)V
putfield sun.tools.jstat.Arguments.vmId:Lsun/jvmstat/monitor/VmIdentifier;
135: goto 142
StackMap locals:
StackMap stack: java.net.URISyntaxException
136: astore 3
start local 3 137: new java.lang.IllegalArgumentException
dup
138: new java.lang.StringBuilder
dup
ldc "Malformed VM Identifier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
139: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 140: aload 4
aload 3
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
141: aload 4
athrow
end local 4 end local 3 142: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 143 0 this Lsun/tools/jstat/Arguments;
0 143 1 args [Ljava/lang/String;
4 143 2 argc I
20 87 3 arg Ljava/lang/String;
43 44 4 value Ljava/lang/String;
50 58 4 value Ljava/lang/String;
70 87 4 lvmidStr Ljava/lang/String;
71 87 5 at_index I
124 127 3 e Ljava/util/regex/PatternSyntaxException;
129 134 3 finder Lsun/tools/jstat/OptionFinder;
137 142 3 e Ljava/net/URISyntaxException;
140 142 4 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
50 51 52 Class java.lang.NumberFormatException
75 76 77 Class java.lang.NumberFormatException
94 95 96 Class java.lang.NumberFormatException
121 122 123 Class java.util.regex.PatternSyntaxException
134 135 136 Class java.net.URISyntaxException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
args
public java.util.Comparator<sun.jvmstat.monitor.Monitor> comparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
Signature: ()Ljava/util/Comparator<Lsun/jvmstat/monitor/Monitor;>;
public boolean isHelp();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.help:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isList();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.list:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isSnap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isOptions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.options:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isVerbose();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.verbose:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean printConstants();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.constants:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isConstantsOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.constantsOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean printStrings();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.strings:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean showUnsupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jstat.Arguments.showUnsupported:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.headerRate:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public java.lang.String counterNames();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public sun.jvmstat.monitor.VmIdentifier vmId();
descriptor: ()Lsun/jvmstat/monitor/VmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.vmId:Lsun/jvmstat/monitor/VmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public java.lang.String vmIdString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public int sampleInterval();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.interval:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public int sampleCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isTimestamp();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.timestamp:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public boolean isSpecialOption();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jstat/Arguments;
public java.lang.String specialOption();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public sun.tools.jstat.OptionFormat optionFormat();
descriptor: ()Lsun/tools/jstat/OptionFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jstat.Arguments.optionFormat:Lsun/tools/jstat/OptionFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jstat/Arguments;
public java.util.List<java.net.URL> optionsSources();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: ldc "jstat_options"
astore 2
start local 2 2: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 3: 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;
ldc ".jvmstat"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 4: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 4
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 5: aload 1
aload 5
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 end local 3 6: goto 14
StackMap locals: sun.tools.jstat.Arguments java.util.List java.lang.String
StackMap stack: java.lang.Exception
7: astore 3
start local 3 8: getstatic sun.tools.jstat.Arguments.debug:Z
ifeq 11
9: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
11: StackMap locals: java.lang.Exception
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Internal Error: Bad URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
new java.lang.StringBuilder
dup
ldc "resources/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 15: getstatic sun.tools.jstat.Arguments.$assertionsDisabled:Z
ifne 16
aload 3
ifnonnull 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals: java.net.URL
StackMap stack:
aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: getstatic sun.tools.jstat.Arguments.showUnsupported:Z
ifeq 21
18: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "resources/jstat_unsupported_options"
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
19: getstatic sun.tools.jstat.Arguments.$assertionsDisabled:Z
ifne 20
aload 3
ifnonnull 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/tools/jstat/Arguments;
1 22 1 sources Ljava/util/List<Ljava/net/URL;>;
2 22 2 filename Ljava/lang/String;
3 6 3 userHome Ljava/lang/String;
4 6 4 userDir Ljava/lang/String;
5 6 5 home Ljava/io/File;
8 14 3 e Ljava/lang/Exception;
15 22 3 u Ljava/net/URL;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
Signature: ()Ljava/util/List<Ljava/net/URL;>;
}
SourceFile: "Arguments.java"