public class sun.jvmstat.PlatformSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.PlatformSupport
super_class: java.lang.Object
{
private static final java.lang.String tmpDirName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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.PlatformSupport.tmpDirName:Ljava/lang/String;
end local 0 4: return
LocalVariableTable:
Start End Slot Name Signature
1 4 0 tmpdir Ljava/lang/String;
public static sun.jvmstat.PlatformSupport getInstance();
descriptor: ()Lsun/jvmstat/PlatformSupport;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc "sun.jvmstat.PlatformSupportImpl"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 0
start local 0 1: aload 0
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 1
start local 1 2: aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.jvmstat.PlatformSupport
3: areturn
end local 1 end local 0 4: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
5: new sun.jvmstat.PlatformSupport
dup
invokespecial sun.jvmstat.PlatformSupport.<init>:()V
areturn
6: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 0
start local 0 7: new java.lang.InternalError
dup
aload 0
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 c Ljava/lang/Class<*>;
2 4 1 cntr Ljava/lang/reflect/Constructor<Lsun/jvmstat/PlatformSupport;>;
7 8 0 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassNotFoundException
0 3 6 Class java.lang.ReflectiveOperationException
void <init>();
descriptor: ()V
flags: (0x0000)
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/PlatformSupport;
public static java.lang.String getTemporaryDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.jvmstat.PlatformSupport.tmpDirName:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.List<java.lang.String> getTemporaryDirectories(int);
descriptor: (I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.jvmstat.PlatformSupport.tmpDirName:Ljava/lang/String;
invokestatic java.util.List.of:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/PlatformSupport;
0 1 1 vmid I
Signature: (I)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
vmid
public int getLocalVmId(java.io.File);
descriptor: (Ljava/io/File;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/PlatformSupport;
0 1 1 file Ljava/io/File;
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
file
public int getNamespaceVmId(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/PlatformSupport;
0 1 1 pid I
MethodParameters:
Name Flags
pid
}
SourceFile: "PlatformSupport.java"