class jdk.internal.platform.CgroupInfo
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.platform.CgroupInfo
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int hierarchyId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean enabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.platform.CgroupInfo.name:Ljava/lang/String;
2: aload 0
iload 2
putfield jdk.internal.platform.CgroupInfo.hierarchyId:I
3: aload 0
iload 3
putfield jdk.internal.platform.CgroupInfo.enabled:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/platform/CgroupInfo;
0 5 1 name Ljava/lang/String;
0 5 2 hierarchyId I
0 5 3 enabled Z
MethodParameters:
Name Flags
name
hierarchyId
enabled
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.platform.CgroupInfo.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/platform/CgroupInfo;
int getHierarchyId();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.platform.CgroupInfo.hierarchyId:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/platform/CgroupInfo;
boolean isEnabled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.platform.CgroupInfo.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/platform/CgroupInfo;
static jdk.internal.platform.CgroupInfo fromCgroupsLine(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/platform/CgroupInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ldc "\\s+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
arraylength
iconst_4
if_icmpeq 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String[]
StackMap stack:
new jdk.internal.platform.CgroupInfo
dup
aload 1
iconst_0
aaload
4: aload 1
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
5: aload 1
iconst_3
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
iconst_1
if_icmpne 6
iconst_1
goto 7
StackMap locals: java.lang.String java.lang.String[]
StackMap stack: new 3 new 3 java.lang.String int
6: iconst_0
7: StackMap locals: java.lang.String java.lang.String[]
StackMap stack: new 3 new 3 java.lang.String int int
invokespecial jdk.internal.platform.CgroupInfo.<init>:(Ljava/lang/String;IZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 line Ljava/lang/String;
1 8 1 tokens [Ljava/lang/String;
MethodParameters:
Name Flags
line
}
SourceFile: "CgroupInfo.java"