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