public class sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager
super_class: java.lang.Object
{
private java.lang.String userName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> tmpdirs;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private java.util.regex.Pattern userPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Matcher userMatcher;
descriptor: Ljava/util/regex/Matcher;
flags: (0x0002) ACC_PRIVATE
private java.io.FilenameFilter userFilter;
descriptor: Ljava/io/FilenameFilter;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Pattern filePattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Matcher fileMatcher;
descriptor: Ljava/util/regex/Matcher;
flags: (0x0002) ACC_PRIVATE
private java.io.FilenameFilter fileFilter;
descriptor: Ljava/io/FilenameFilter;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Pattern tmpFilePattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Matcher tmpFileMatcher;
descriptor: Ljava/util/regex/Matcher;
flags: (0x0002) ACC_PRIVATE
private java.io.FilenameFilter tmpFileFilter;
descriptor: Ljava/io/FilenameFilter;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
0: .line 66
aload 0 /* this */
aconst_null
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.<init>:(Ljava/lang/String;)V
1: .line 67
return
end local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
start local 1 // java.lang.String user
0: .line 77
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 78
aload 0 /* this */
aload 1 /* user */
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
2: .line 81
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
ifnonnull 8
3: .line 82
aload 0 /* this */
aconst_null
iconst_0
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectories:(Ljava/lang/String;I)Ljava/util/List;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdirs:Ljava/util/List;
4: .line 83
aload 0 /* this */
ldc "hsperfdata_\\S*"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userPattern:Ljava/util/regex/Pattern;
5: .line 84
aload 0 /* this */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userPattern:Ljava/util/regex/Pattern;
ldc ""
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userMatcher:Ljava/util/regex/Matcher;
6: .line 86
aload 0 /* this */
new sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$1
dup
aload 0 /* this */
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$1.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userFilter:Ljava/io/FilenameFilter;
7: .line 92
goto 9
8: .line 93
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager java.lang.String
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
iconst_0
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectories:(Ljava/lang/String;I)Ljava/util/List;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdirs:Ljava/util/List;
9: .line 96
StackMap locals:
StackMap stack:
aload 0 /* this */
ldc "^[0-9]+$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.filePattern:Ljava/util/regex/Pattern;
10: .line 97
aload 0 /* this */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.filePattern:Ljava/util/regex/Pattern;
ldc ""
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.fileMatcher:Ljava/util/regex/Matcher;
11: .line 99
aload 0 /* this */
new sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$2
dup
aload 0 /* this */
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$2.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.fileFilter:Ljava/io/FilenameFilter;
12: .line 106
aload 0 /* this */
ldc "^hsperfdata_[0-9]+(_[1-2]+)?$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpFilePattern:Ljava/util/regex/Pattern;
13: .line 107
aload 0 /* this */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpFilePattern:Ljava/util/regex/Pattern;
ldc ""
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpFileMatcher:Ljava/util/regex/Matcher;
14: .line 109
aload 0 /* this */
new sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$3
dup
aload 0 /* this */
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$3.<init>:(Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpFileFilter:Ljava/io/FilenameFilter;
15: .line 115
return
end local 1 // java.lang.String user
end local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
0 16 1 user Ljava/lang/String;
MethodParameters:
Name Flags
user
public synchronized java.util.Set<java.lang.Integer> activeVms();
descriptor: ()Ljava/util/Set;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=10, args_size=1
start local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
0: .line 136
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1 /* jvmSet */
start local 1 // java.util.Set jvmSet
1: .line 138
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdirs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 45
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2 /* dir */
start local 2 // java.lang.String dir
3: .line 139
new java.io.File
dup
aload 2 /* dir */
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4 /* tmpdir */
start local 4 // java.io.File tmpdir
4: .line 140
aload 4 /* tmpdir */
invokevirtual java.io.File.isDirectory:()Z
ifne 6
5: .line 141
goto 45
6: .line 144
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager java.util.Set java.lang.String java.util.Iterator java.io.File
StackMap stack:
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
ifnonnull 25
7: .line 149
aload 4 /* tmpdir */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userFilter:Ljava/io/FilenameFilter;
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 5 /* dirs */
start local 5 // java.io.File[] dirs
8: .line 150
iconst_0
istore 6 /* i */
start local 6 // int i
9: goto 23
10: .line 151
StackMap locals: java.io.File[] int
StackMap stack:
aload 5 /* dirs */
iload 6 /* i */
aaload
invokevirtual java.io.File.isDirectory:()Z
ifne 12
11: .line 152
goto 22
12: .line 156
StackMap locals:
StackMap stack:
aload 5 /* dirs */
iload 6 /* i */
aaload
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.fileFilter:Ljava/io/FilenameFilter;
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 7 /* files */
start local 7 // java.io.File[] files
13: .line 157
aload 7 /* files */
ifnull 22
14: .line 158
iconst_0
istore 8 /* j */
start local 8 // int j
15: goto 21
16: .line 159
StackMap locals: java.io.File[] int
StackMap stack:
aload 7 /* files */
iload 8 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 20
aload 7 /* files */
iload 8 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 20
17: .line 160
aload 7 /* files */
iload 8 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
istore 9 /* vmid */
start local 9 // int vmid
18: .line 161
iload 9 /* vmid */
iconst_m1
if_icmpeq 20
19: .line 162
aload 1 /* jvmSet */
iload 9 /* vmid */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 // int vmid
20: .line 158
StackMap locals:
StackMap stack:
iinc 8 /* j */ 1
StackMap locals:
StackMap stack:
21: iload 8 /* j */
aload 7 /* files */
arraylength
if_icmplt 16
end local 8 // int j
end local 7 // java.io.File[] files
22: .line 150
StackMap locals:
StackMap stack:
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
23: iload 6 /* i */
aload 5 /* dirs */
arraylength
if_icmplt 10
end local 6 // int i
end local 5 // java.io.File[] dirs
24: .line 168
goto 35
25: .line 176
StackMap locals:
StackMap stack:
aload 4 /* tmpdir */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.fileFilter:Ljava/io/FilenameFilter;
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 5 /* files */
start local 5 // java.io.File[] files
26: .line 178
aload 5 /* files */
ifnull 35
27: .line 179
iconst_0
istore 6 /* j */
start local 6 // int j
28: goto 34
29: .line 180
StackMap locals: java.io.File[] int
StackMap stack:
aload 5 /* files */
iload 6 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 33
aload 5 /* files */
iload 6 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 33
30: .line 181
aload 5 /* files */
iload 6 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
istore 7 /* vmid */
start local 7 // int vmid
31: .line 182
iload 7 /* vmid */
iconst_m1
if_icmpeq 33
32: .line 183
aload 1 /* jvmSet */
iload 7 /* vmid */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 7 // int vmid
33: .line 179
StackMap locals:
StackMap stack:
iinc 6 /* j */ 1
StackMap locals:
StackMap stack:
34: iload 6 /* j */
aload 5 /* files */
arraylength
if_icmplt 29
end local 6 // int j
end local 5 // java.io.File[] files
35: .line 191
StackMap locals:
StackMap stack:
aload 4 /* tmpdir */
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpFileFilter:Ljava/io/FilenameFilter;
invokevirtual java.io.File.listFiles:(Ljava/io/FilenameFilter;)[Ljava/io/File;
astore 5 /* files */
start local 5 // java.io.File[] files
36: .line 192
aload 5 /* files */
ifnull 45
37: .line 193
iconst_0
istore 6 /* j */
start local 6 // int j
38: goto 44
39: .line 194
StackMap locals: java.io.File[] int
StackMap stack:
aload 5 /* files */
iload 6 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 43
aload 5 /* files */
iload 6 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 43
40: .line 195
aload 5 /* files */
iload 6 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
istore 7 /* vmid */
start local 7 // int vmid
41: .line 196
iload 7 /* vmid */
iconst_m1
if_icmpeq 43
42: .line 197
aload 1 /* jvmSet */
iload 7 /* vmid */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 7 // int vmid
43: .line 193
StackMap locals:
StackMap stack:
iinc 6 /* j */ 1
StackMap locals:
StackMap stack:
44: iload 6 /* j */
aload 5 /* files */
arraylength
if_icmplt 39
end local 6 // int j
end local 5 // java.io.File[] files
end local 4 // java.io.File tmpdir
end local 2 // java.lang.String dir
45: .line 138
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager java.util.Set top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
46: .line 204
aload 1 /* jvmSet */
areturn
end local 1 // java.util.Set jvmSet
end local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
1 47 1 jvmSet Ljava/util/Set<Ljava/lang/Integer;>;
3 45 2 dir Ljava/lang/String;
4 45 4 tmpdir Ljava/io/File;
8 24 5 dirs [Ljava/io/File;
9 24 6 i I
13 22 7 files [Ljava/io/File;
15 22 8 j I
18 20 9 vmid I
26 35 5 files [Ljava/io/File;
28 35 6 j I
31 33 7 vmid I
36 45 5 files [Ljava/io/File;
38 45 6 j I
41 43 7 vmid I
Signature: ()Ljava/util/Set<Ljava/lang/Integer;>;
}
SourceFile: "LocalVmManager.java"
NestMembers:
sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$1 sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$2 sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$3
InnerClasses:
sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$1
sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$2
sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager$3