public class jdk.internal.platform.cgroupv1.CgroupV1SubsystemController implements jdk.internal.platform.CgroupSubsystemController
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.platform.cgroupv1.CgroupV1SubsystemController
super_class: java.lang.Object
{
private static final double DOUBLE_RETVAL_UNLIMITED;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1.0
static long UNLIMITED_MIN;
descriptor: J
flags: (0x0008) ACC_STATIC
java.lang.String root;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String mountPoint;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 9223372036837998592
putstatic jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.UNLIMITED_MIN:J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
2: aload 0
aload 2
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.mountPoint:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/platform/cgroupv1/CgroupV1SubsystemController;
0 4 1 root Ljava/lang/String;
0 4 2 mountPoint Ljava/lang/String;
MethodParameters:
Name Flags
root
mountPoint
public void setPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
ifnull 14
aload 1
ifnull 14
1: aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
2: aload 1
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.mountPoint:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.path:Ljava/lang/String;
4: goto 14
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.mountPoint:Ljava/lang/String;
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.path:Ljava/lang/String;
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.mountPoint:Ljava/lang/String;
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.path:Ljava/lang/String;
9: goto 14
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
11: aload 1
invokevirtual java.lang.String.length:()I
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmple 14
12: aload 1
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.root:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 13: aload 0
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.mountPoint: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
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.path:Ljava/lang/String;
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/platform/cgroupv1/CgroupV1SubsystemController;
0 15 1 cgroupPath Ljava/lang/String;
13 14 2 cgroupSubstr Ljava/lang/String;
MethodParameters:
Name Flags
cgroupPath
public java.lang.String path();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/platform/cgroupv1/CgroupV1SubsystemController;
public static long getLongEntry(jdk.internal.platform.CgroupSubsystemController, java.lang.String, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
1: aload 1
2: aload 2
3: ldc -1
4: invokestatic jdk.internal.platform.CgroupSubsystemController.getLongEntry:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;J)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 5 1 param Ljava/lang/String;
0 5 2 entryname Ljava/lang/String;
MethodParameters:
Name Flags
controller
param
entryname
public static double getDoubleValue(jdk.internal.platform.CgroupSubsystemController, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
2: ldc -1.0
3: invokestatic jdk.internal.platform.CgroupSubsystemController.getDoubleValue:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 4 1 parm Ljava/lang/String;
MethodParameters:
Name Flags
controller
parm
public static long convertStringToLong(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
1: ldc 9223372036854775807
2: ldc -1
3: invokestatic jdk.internal.platform.CgroupSubsystemController.convertStringToLong:(Ljava/lang/String;JJ)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 strval Ljava/lang/String;
MethodParameters:
Name Flags
strval
public static long longValOrUnlimited(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
getstatic jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.UNLIMITED_MIN:J
lcmp
ifle 1
ldc -1
goto 2
StackMap locals:
StackMap stack:
1: lload 0
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value J
MethodParameters:
Name Flags
value
public static long getLongValueMatchingLine(jdk.internal.platform.CgroupSubsystemController, java.lang.String, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
1: aload 1
2: aload 2
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/platform/cgroupv1/CgroupV1SubsystemController.convertHierachicalLimitLine(Ljava/lang/String;)J (6)
(Ljava/lang/String;)Ljava/lang/Long;
4: ldc -1
5: invokestatic jdk.internal.platform.CgroupSubsystemController.getLongValueMatchingLine:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;J)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 6 1 param Ljava/lang/String;
0 6 2 match Ljava/lang/String;
MethodParameters:
Name Flags
controller
param
match
public static long convertHierachicalLimitLine(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, 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_2
if_icmpne 4
2: aload 1
iconst_1
aaload
astore 2
start local 2 3: aload 2
invokestatic jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.convertStringToLong:(Ljava/lang/String;)J
lreturn
end local 2 4: StackMap locals: java.lang.String[]
StackMap stack:
getstatic jdk.internal.platform.cgroupv1.CgroupV1SubsystemController.UNLIMITED_MIN:J
lconst_1
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 line Ljava/lang/String;
1 5 1 tokens [Ljava/lang/String;
3 4 2 strVal Ljava/lang/String;
MethodParameters:
Name Flags
line
}
SourceFile: "CgroupV1SubsystemController.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles