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.io.File tmpdir;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
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 80
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
ifnonnull 8
3: .line 81
aload 0 /* this */
new java.io.File
dup
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
4: .line 82
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 83
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 85
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 91
goto 9
8: .line 92
StackMap locals: sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager java.lang.String
StackMap stack:
aload 0 /* this */
new java.io.File
dup
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectory:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
9: .line 95
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 96
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 98
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 105
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 106
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 108
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 114
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=5, locals=6, args_size=1
start local 0 // sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager this
0: .line 135
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1 /* jvmSet */
start local 1 // java.util.Set jvmSet
1: .line 137
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ifne 3
2: .line 138
aload 1 /* jvmSet */
areturn
3: .line 141
StackMap locals: java.util.Set
StackMap stack:
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.userName:Ljava/lang/String;
ifnonnull 22
4: .line 146
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
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 2 /* dirs */
start local 2 // java.io.File[] dirs
5: .line 148
iconst_0
istore 3 /* i */
start local 3 // int i
6: goto 20
7: .line 149
StackMap locals: java.io.File[] int
StackMap stack:
aload 2 /* dirs */
iload 3 /* i */
aaload
invokevirtual java.io.File.isDirectory:()Z
ifne 9
8: .line 150
goto 19
9: .line 154
StackMap locals:
StackMap stack:
aload 2 /* dirs */
iload 3 /* 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 4 /* files */
start local 4 // java.io.File[] files
10: .line 156
aload 4 /* files */
ifnull 19
11: .line 157
iconst_0
istore 5 /* j */
start local 5 // int j
12: goto 18
13: .line 158
StackMap locals: java.io.File[] int
StackMap stack:
aload 4 /* files */
iload 5 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 17
aload 4 /* files */
iload 5 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 17
14: .line 159
aload 1 /* jvmSet */
new java.lang.Integer
dup
15: .line 160
aload 4 /* files */
iload 5 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
invokespecial java.lang.Integer.<init>:(I)V
16: .line 159
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: .line 157
StackMap locals:
StackMap stack:
iinc 5 /* j */ 1
StackMap locals:
StackMap stack:
18: iload 5 /* j */
aload 4 /* files */
arraylength
if_icmplt 13
end local 5 // int j
end local 4 // java.io.File[] files
19: .line 148
StackMap locals:
StackMap stack:
iinc 3 /* i */ 1
StackMap locals:
StackMap stack:
20: iload 3 /* i */
aload 2 /* dirs */
arraylength
if_icmplt 7
end local 3 // int i
end local 2 // java.io.File[] dirs
21: .line 165
goto 32
22: .line 173
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
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 2 /* files */
start local 2 // java.io.File[] files
23: .line 175
aload 2 /* files */
ifnull 32
24: .line 176
iconst_0
istore 3 /* j */
start local 3 // int j
25: goto 31
26: .line 177
StackMap locals: java.io.File[] int
StackMap stack:
aload 2 /* files */
iload 3 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 30
aload 2 /* files */
iload 3 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 30
27: .line 178
aload 1 /* jvmSet */
new java.lang.Integer
dup
28: .line 179
aload 2 /* files */
iload 3 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
invokespecial java.lang.Integer.<init>:(I)V
29: .line 178
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
30: .line 176
StackMap locals:
StackMap stack:
iinc 3 /* j */ 1
StackMap locals:
StackMap stack:
31: iload 3 /* j */
aload 2 /* files */
arraylength
if_icmplt 26
end local 3 // int j
end local 2 // java.io.File[] files
32: .line 186
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.jvmstat.perfdata.monitor.protocol.local.LocalVmManager.tmpdir:Ljava/io/File;
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 2 /* files */
start local 2 // java.io.File[] files
33: .line 187
aload 2 /* files */
ifnull 42
34: .line 188
iconst_0
istore 3 /* j */
start local 3 // int j
35: goto 41
36: .line 189
StackMap locals: java.io.File[] int
StackMap stack:
aload 2 /* files */
iload 3 /* j */
aaload
invokevirtual java.io.File.isFile:()Z
ifeq 40
aload 2 /* files */
iload 3 /* j */
aaload
invokevirtual java.io.File.canRead:()Z
ifeq 40
37: .line 190
aload 1 /* jvmSet */
new java.lang.Integer
dup
38: .line 191
aload 2 /* files */
iload 3 /* j */
aaload
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getLocalVmId:(Ljava/io/File;)I
invokespecial java.lang.Integer.<init>:(I)V
39: .line 190
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
40: .line 188
StackMap locals:
StackMap stack:
iinc 3 /* j */ 1
StackMap locals:
StackMap stack:
41: iload 3 /* j */
aload 2 /* files */
arraylength
if_icmplt 36
end local 3 // int j
42: .line 196
StackMap locals:
StackMap stack:
aload 1 /* jvmSet */
areturn
end local 2 // java.io.File[] files
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 43 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/LocalVmManager;
1 43 1 jvmSet Ljava/util/Set<Ljava/lang/Integer;>;
5 21 2 dirs [Ljava/io/File;
6 21 3 i I
10 19 4 files [Ljava/io/File;
12 19 5 j I
23 32 2 files [Ljava/io/File;
25 32 3 j I
33 43 2 files [Ljava/io/File;
35 42 3 j 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