public class sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile
super_class: java.lang.Object
{
public static final java.lang.String tmpDirName;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String dirNamePrefix;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "hsperfdata_"
public static final java.lang.String userDirNamePattern;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "hsperfdata_\\S*"
public static final java.lang.String fileNamePattern;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "^[0-9]+$"
public static final java.lang.String tmpFileNamePattern;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "^hsperfdata_[0-9]+(_[1-2]+)?$"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.internal.vm.VMSupport.getVMTemporaryDirectory:()Ljava/lang/String;
astore 0
start local 0 1: aload 0
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 3
2: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
putstatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.tmpDirName:Ljava/lang/String;
end local 0 4: return
LocalVariableTable:
Start End Slot Name Signature
1 4 0 tmpdir Ljava/lang/String;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/perfdata/monitor/protocol/local/PerfDataFile;
public static java.io.File getFile(int);
descriptor: (I)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: iload 0
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.io.File
dup
getstatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.tmpDirName:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
new sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile$1
dup
invokespecial sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile$1.<init>:()V
invokevirtual java.io.File.list:(Ljava/io/FilenameFilter;)[Ljava/lang/String;
astore 2
start local 2 4: lconst_0
lstore 3
start local 3 5: aconst_null
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 25
8: StackMap locals: int java.io.File java.lang.String[] long java.io.File int
StackMap stack:
new java.io.File
dup
new java.lang.StringBuilder
dup
getstatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.tmpDirName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iload 6
aaload
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 7
start local 7 9: aconst_null
astore 8
start local 8 10: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 14
aload 7
invokevirtual java.io.File.isDirectory:()Z
ifeq 14
11: iload 0
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 9
start local 9 12: new java.io.File
dup
aload 7
invokevirtual java.io.File.getName:()Ljava/lang/String;
aload 9
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
end local 9 13: goto 18
StackMap locals: java.io.File java.io.File
StackMap stack:
14: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 17
aload 7
invokevirtual java.io.File.isFile:()Z
ifeq 17
15: aload 7
astore 8
16: goto 18
17: StackMap locals:
StackMap stack:
aload 7
astore 8
18: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.io.File.exists:()Z
ifeq 24
aload 8
invokevirtual java.io.File.isFile:()Z
ifeq 24
19: aload 8
invokevirtual java.io.File.canRead:()Z
ifeq 24
20: aload 8
invokevirtual java.io.File.lastModified:()J
lstore 9
start local 9 21: lload 9
lload 3
lcmp
iflt 24
22: lload 9
lstore 3
23: aload 8
astore 5
end local 9 end local 8 end local 7 24: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
aload 2
arraylength
if_icmplt 8
end local 6 26: aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 lvmid I
3 27 1 tmpDir Ljava/io/File;
4 27 2 files [Ljava/lang/String;
5 27 3 newestTime J
6 27 5 newest Ljava/io/File;
7 26 6 i I
9 24 7 f Ljava/io/File;
10 24 8 candidate Ljava/io/File;
12 13 9 name Ljava/lang/String;
21 24 9 modTime J
MethodParameters:
Name Flags
lvmid
public static java.io.File getFile(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectory:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 3: new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 6
aload 3
invokevirtual java.io.File.isFile:()Z
ifeq 6
aload 3
invokevirtual java.io.File.canRead:()Z
ifeq 6
5: aload 3
areturn
6: StackMap locals: java.lang.String java.io.File
StackMap stack:
lconst_0
lstore 4
start local 4 7: aconst_null
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 23
10: StackMap locals: long java.io.File int
StackMap stack:
iload 7
ifne 13
11: new java.lang.StringBuilder
dup
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectory:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
12: goto 16
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokestatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.getTempDirectory:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: iload 7
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
16: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
17: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 22
aload 3
invokevirtual java.io.File.isFile:()Z
ifeq 22
aload 3
invokevirtual java.io.File.canRead:()Z
ifeq 22
18: aload 3
invokevirtual java.io.File.lastModified:()J
lstore 8
start local 8 19: lload 8
lload 4
lcmp
iflt 22
20: lload 8
lstore 4
21: aload 3
astore 6
end local 8 22: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iconst_2
if_icmplt 10
end local 7 24: aload 6
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 user Ljava/lang/String;
0 25 1 lvmid I
3 25 2 basename Ljava/lang/String;
4 25 3 f Ljava/io/File;
7 25 4 newestTime J
8 25 6 newest Ljava/io/File;
9 24 7 i I
19 22 8 modTime J
MethodParameters:
Name Flags
user
lvmid
public static int getLocalVmId(java.io.File);
descriptor: (Ljava/io/File;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 1
start local 1 4: aload 1
ldc "hsperfdata_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
5: aload 1
bipush 95
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 6: aload 1
bipush 95
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 7: iload 2
iload 3
if_icmpne 10
8: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
9: ireturn
10: StackMap locals: java.lang.String int int
StackMap stack:
aload 1
iload 2
iconst_1
iadd
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
11: ireturn
12: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
end local 3 end local 2 13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "file name does not match pattern"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 file Ljava/io/File;
4 14 1 name Ljava/lang/String;
6 13 2 first I
7 13 3 last I
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
7 9 12 Class java.lang.NumberFormatException
10 11 12 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
file
public static java.lang.String getTempDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.tmpDirName:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getTempDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
getstatic sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile.tmpDirName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "hsperfdata_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 user Ljava/lang/String;
MethodParameters:
Name Flags
user
}
SourceFile: "PerfDataFile.java"
NestMembers:
sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile$1
InnerClasses:
sun.jvmstat.perfdata.monitor.protocol.local.PerfDataFile$1