public interface jdk.internal.platform.CgroupSubsystemController
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.internal.platform.CgroupSubsystemController
super_class: java.lang.Object
{
public static final java.lang.String EMPTY_STR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ""
public abstract java.lang.String path();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static java.lang.String getStringValue(jdk.internal.platform.CgroupSubsystemController, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic jdk.internal.platform.CgroupUtil.readStringValue:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/lang/String;
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
pop
4: aconst_null
areturn
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;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
controller
param
public static long getLongValueMatchingLine(jdk.internal.platform.CgroupSubsystemController, java.lang.String, java.lang.String, java.util.function.Function<java.lang.String, java.lang.Long>, );
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: lload 4
lstore 6
start local 6 1: aload 0
ifnonnull 3
2: lload 6
lreturn
3: StackMap locals: long
StackMap stack:
aload 0
invokeinterface jdk.internal.platform.CgroupSubsystemController.path:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 8
start local 8 4: aload 8
invokestatic jdk.internal.platform.CgroupUtil.readAllLinesPrivileged:(Ljava/nio/file/Path;)Ljava/util/List;
astore 9
start local 9 5: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 10
StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.lang.String java.util.function.Function long long java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
6: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 7: aload 10
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
8: aload 3
aload 10
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
9: goto 13
end local 10 10: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 9 end local 8 11: goto 13
StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.lang.String java.util.function.Function long long
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
lload 6
lreturn
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 14 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 14 1 param Ljava/lang/String;
0 14 2 match Ljava/lang/String;
0 14 3 conversion Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Long;>;
0 14 4 defaultRetval J
1 14 6 retval J
4 11 8 filePath Ljava/nio/file/Path;
5 11 9 lines Ljava/util/List<Ljava/lang/String;>;
7 10 10 line Ljava/lang/String;
Exception table:
from to target type
3 11 12 Class java.io.IOException
Signature: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Long;>;J)J
MethodParameters:
Name Flags
controller
param
match
conversion
defaultRetval
public static long getLongValue(jdk.internal.platform.CgroupSubsystemController, java.lang.String, java.util.function.Function<java.lang.String, java.lang.Long>, );
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/util/function/Function;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic jdk.internal.platform.CgroupSubsystemController.getStringValue:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 1: aload 5
ifnonnull 2
lload 3
lreturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 5
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 3 1 param Ljava/lang/String;
0 3 2 conversion Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Long;>;
0 3 3 defaultRetval J
1 3 5 strval Ljava/lang/String;
Signature: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Long;>;J)J
MethodParameters:
Name Flags
controller
param
conversion
defaultRetval
public static double getDoubleValue(jdk.internal.platform.CgroupSubsystemController, java.lang.String, double);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic jdk.internal.platform.CgroupSubsystemController.getStringValue:(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 2
dload 2
dreturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 5
start local 5 3: dload 5
dreturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 4 1 param Ljava/lang/String;
0 4 2 defaultRetval D
1 4 4 strval Ljava/lang/String;
3 4 5 retval D
MethodParameters:
Name Flags
controller
param
defaultRetval
public static long getLongEntry(jdk.internal.platform.CgroupSubsystemController, java.lang.String, java.lang.String, long);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;Ljava/lang/String;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 1
lload 3
lreturn
1: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
2: aload 0
invokeinterface jdk.internal.platform.CgroupSubsystemController.path:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic jdk.internal.platform.CgroupUtil.readFilePrivileged:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
astore 7
start local 7 3: aload 7
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/CgroupSubsystemController.lambda$0(Ljava/lang/String;)[Ljava/lang/String; (6 itf)
(Ljava/lang/String;)[Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: aload 2
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
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;)Z
jdk/internal/platform/CgroupSubsystemController.lambda$1(Ljava/lang/String;[Ljava/lang/String;)Z (6 itf)
([Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
5: 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/CgroupSubsystemController.lambda$2([Ljava/lang/String;)Ljava/lang/String; (6 itf)
([Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
7: astore 8
start local 8 8: aload 8
invokevirtual java.util.Optional.isPresent:()Z
ifeq 9
aload 8
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
goto 10
StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.lang.String long java.lang.Throwable java.lang.Throwable java.util.stream.Stream java.util.Optional
StackMap stack:
9: lload 3
10: StackMap locals:
StackMap stack: long
aload 7
ifnull 11
aload 7
invokeinterface java.util.stream.Stream.close:()V
11: StackMap locals:
StackMap stack: long
lreturn
end local 8 StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.lang.String long java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
12: astore 5
13: aload 7
ifnull 14
aload 7
invokeinterface java.util.stream.Stream.close:()V
end local 7 StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
athrow
18: StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.lang.String long
StackMap stack: java.io.IOException
pop
19: lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 20 1 param Ljava/lang/String;
0 20 2 entryname Ljava/lang/String;
0 20 3 defaultRetval J
3 14 7 lines Ljava/util/stream/Stream<Ljava/lang/String;>;
8 12 8 result Ljava/util/Optional<Ljava/lang/String;>;
Exception table:
from to target type
3 10 12 any
2 11 15 any
12 15 15 any
1 11 18 Class java.io.IOException
12 18 18 Class java.io.IOException
MethodParameters:
Name Flags
controller
param
entryname
defaultRetval
public static int[] stringRangeToIntArray(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=1
start local 0 0: aload 0
ifnull 1
ldc ""
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
StackMap locals:
StackMap stack:
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
ldc "-"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 18
7: aload 3
ldc "-"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 8: aload 7
arraylength
iconst_2
if_icmpeq 10
9: goto 19
10: StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
aload 7
iconst_0
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 8
start local 8 11: aload 7
iconst_1
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 9
start local 9 12: iload 8
istore 10
start local 10 13: goto 16
14: StackMap locals: int int int
StackMap stack:
aload 1
iload 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
15: iinc 10 1
StackMap locals:
StackMap stack:
16: iload 10
iload 9
if_icmple 14
end local 10 end local 9 end local 8 end local 7 17: goto 19
18: StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 1
aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 19: StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 5
21: aload 1
aconst_null
invokevirtual java.util.ArrayList.sort:(Ljava/util/Comparator;)V
22: aload 1
invokevirtual java.util.ArrayList.size:()I
newarray 10
astore 3
start local 3 23: iconst_0
istore 4
start local 4 24: aload 1
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 27
StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] int[] int top java.util.Iterator
StackMap stack:
25: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 5
start local 5 26: aload 3
iload 4
iinc 4 1
aload 5
invokevirtual java.lang.Integer.intValue:()I
iastore
end local 5 27: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
28: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 range Ljava/lang/String;
3 29 1 results Ljava/util/ArrayList<Ljava/lang/Integer;>;
4 29 2 strs [Ljava/lang/String;
6 19 3 str Ljava/lang/String;
8 17 7 lohi [Ljava/lang/String;
11 17 8 lo I
12 17 9 hi I
13 17 10 i I
23 29 3 ints [I
24 29 4 i I
26 27 5 n Ljava/lang/Integer;
MethodParameters:
Name Flags
range
public static long convertStringToLong(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 3 0: lload 3
lstore 5
start local 5 1: aload 0
ifnonnull 2
lload 5
lreturn
2: StackMap locals: long
StackMap stack:
aload 0
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 5
3: goto 8
StackMap locals:
StackMap stack: java.lang.NumberFormatException
4: pop
5: new java.math.BigInteger
dup
aload 0
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
astore 7
start local 7 6: aload 7
ldc 9223372036854775807
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 8
7: lload 1
lreturn
end local 7 8: StackMap locals:
StackMap stack:
lload 5
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 strval Ljava/lang/String;
0 9 1 overflowRetval J
0 9 3 defaultRetval J
1 9 5 retval J
6 8 7 b Ljava/math/BigInteger;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
strval
overflowRetval
defaultRetval
private static java.lang.String[] lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 line Ljava/lang/String;
private static boolean lambda$1(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
arraylength
iconst_2
if_icmpne 2
1: aload 1
iconst_0
aaload
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 line [Ljava/lang/String;
private static java.lang.String lambda$2(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 line [Ljava/lang/String;
}
SourceFile: "CgroupSubsystemController.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles