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
ifne 7
5: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.help:Z
6: return
7: 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 9
8: aload 1
iconst_0
aaload
ldc "-help"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 11
9: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.help:Z
10: return
11: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
ldc "-options"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 14
12: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.options:Z
13: return
14: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
ldc "-list"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 89
15: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.list:Z
16: aload 1
arraylength
iconst_2
if_icmple 18
17: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
iinc 2 1
19: goto 89
20: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 21: aload 3
ldc "-a"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 24
22: aload 0
new sun.tools.jstat.AscendingMonitorComparator
dup
invokespecial sun.tools.jstat.AscendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
23: goto 88
StackMap locals: java.lang.String
StackMap stack:
24: aload 3
ldc "-d"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 27
25: aload 0
new sun.tools.jstat.DescendingMonitorComparator
dup
invokespecial sun.tools.jstat.DescendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
26: goto 88
StackMap locals:
StackMap stack:
27: aload 3
ldc "-t"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 30
28: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.timestamp:Z
29: goto 88
StackMap locals:
StackMap stack:
30: aload 3
ldc "-v"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 33
31: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.verbose:Z
32: goto 88
StackMap locals:
StackMap stack:
33: aload 3
ldc "-constants"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 35
34: aload 3
ldc "-c"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 37
35: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.constants:Z
36: goto 88
StackMap locals:
StackMap stack:
37: aload 3
ldc "-strings"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 39
38: aload 3
ldc "-s"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 41
39: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jstat.Arguments.strings:Z
40: goto 88
StackMap locals:
StackMap stack:
41: aload 3
ldc "-h"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 59
42: aload 3
ldc "-h"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 45
43: aload 3
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 44: goto 51
end local 4 45: StackMap locals:
StackMap stack:
iinc 2 1
46: iload 2
aload 1
arraylength
if_icmplt 50
47: new java.lang.IllegalArgumentException
dup
48: ldc "-h requires an integer argument"
49: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
50: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 4
start local 4 51: 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
52: goto 55
StackMap locals:
StackMap stack: java.lang.NumberFormatException
53: pop
54: aload 0
iconst_m1
putfield sun.tools.jstat.Arguments.headerRate:I
55: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.headerRate:I
ifge 88
56: new java.lang.IllegalArgumentException
dup
57: 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;
58: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 59: StackMap locals:
StackMap stack:
aload 3
ldc "-name"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 70
60: aload 3
ldc "-name="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 63
61: aload 0
aload 3
bipush 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
62: goto 88
63: StackMap locals:
StackMap stack:
iinc 2 1
64: iload 2
aload 1
arraylength
if_icmplt 68
65: new java.lang.IllegalArgumentException
dup
66: ldc "option argument expected"
67: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
68: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
69: goto 88
70: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 71: aload 1
iload 2
aaload
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 72: iload 5
ifge 75
73: aload 1
iload 2
aaload
astore 4
74: goto 76
75: 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
76: StackMap locals:
StackMap stack:
aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
77: goto 90
78: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
79: iload 2
ifne 82
aload 1
iload 2
aaload
ldc "-snap"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 82
80: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.snap:Z
81: goto 88
StackMap locals:
StackMap stack:
82: iload 2
ifne 85
83: 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;
84: goto 88
85: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
86: 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;
87: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 88: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
89: iload 2
aload 1
arraylength
if_icmpge 90
aload 1
iload 2
aaload
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 20
90: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
ifnonnull 92
aload 0
getfield sun.tools.jstat.Arguments.list:Z
ifne 92
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifne 92
aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
ifnonnull 92
91: new java.lang.IllegalArgumentException
dup
ldc "-<option> required"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
92: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
tableswitch { // 0 - 3
0: 111
1: 109
2: 104
3: 93
default: 113
}
93: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifeq 95
94: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
95: 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
96: goto 101
StackMap locals:
StackMap stack: java.lang.NumberFormatException
97: pop
98: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal count value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
99: 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;
100: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
101: 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
102: aload 0
aload 1
aload 1
arraylength
iconst_3
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
103: goto 114
104: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.snap:Z
ifeq 106
105: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
106: 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
107: aload 0
aload 1
aload 1
arraylength
iconst_2
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
108: goto 114
109: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
putfield sun.tools.jstat.Arguments.vmIdString:Ljava/lang/String;
110: goto 114
111: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.list:Z
ifne 114
112: new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
113: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
114: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.count:I
iconst_m1
if_icmpne 117
aload 0
getfield sun.tools.jstat.Arguments.interval:I
iconst_m1
if_icmpne 117
115: aload 0
iconst_1
putfield sun.tools.jstat.Arguments.count:I
116: aload 0
iconst_0
putfield sun.tools.jstat.Arguments.interval:I
117: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
ifnonnull 119
118: aload 0
new sun.tools.jstat.AscendingMonitorComparator
dup
invokespecial sun.tools.jstat.AscendingMonitorComparator.<init>:()V
putfield sun.tools.jstat.Arguments.comparator:Ljava/util/Comparator;
119: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
ifnonnull 120
ldc "\\w*"
goto 121
StackMap locals:
StackMap stack: sun.tools.jstat.Arguments
120: 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
121: putfield sun.tools.jstat.Arguments.names:Ljava/lang/String;
122: 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
123: goto 128
StackMap locals:
StackMap stack: java.util.regex.PatternSyntaxException
124: astore 3
start local 3 125: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad name pattern: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
126: 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;
127: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 128: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jstat.Arguments.specialOption:Ljava/lang/String;
ifnull 135
129: 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 130: 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;
131: aload 0
getfield sun.tools.jstat.Arguments.optionFormat:Lsun/tools/jstat/OptionFormat;
ifnonnull 135
132: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown option: -"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
133: 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;
134: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 135: 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;
136: goto 143
StackMap locals:
StackMap stack: java.net.URISyntaxException
137: astore 3
start local 3 138: new java.lang.IllegalArgumentException
dup
139: 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;
140: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 141: aload 4
aload 3
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
142: aload 4
athrow
end local 4 end local 3 143: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 144 0 this Lsun/tools/jstat/Arguments;
0 144 1 args [Ljava/lang/String;
4 144 2 argc I
21 88 3 arg Ljava/lang/String;
44 45 4 value Ljava/lang/String;
51 59 4 value Ljava/lang/String;
71 88 4 lvmidStr Ljava/lang/String;
72 88 5 at_index I
125 128 3 e Ljava/util/regex/PatternSyntaxException;
130 135 3 finder Lsun/tools/jstat/OptionFinder;
138 143 3 e Ljava/net/URISyntaxException;
141 143 4 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
51 52 53 Class java.lang.NumberFormatException
76 77 78 Class java.lang.NumberFormatException
95 96 97 Class java.lang.NumberFormatException
122 123 124 Class java.util.regex.PatternSyntaxException
135 136 137 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"