public final class jdk.internal.platform.CgroupUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.platform.CgroupUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Ljdk/internal/platform/CgroupUtil;
public static java.util.stream.Stream<java.lang.String> readFilePrivileged(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokedynamic run(Ljava/nio/file/Path;)Ljava/security/PrivilegedExceptionAction;
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;
jdk/internal/platform/CgroupUtil.lambda$0(Ljava/nio/file/Path;)Ljava/util/stream/Stream; (6)
()Ljava/util/stream/Stream;
astore 1
start local 1 1: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.stream.Stream
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 4: aload 1
invokestatic jdk.internal.platform.CgroupUtil.unwrapIOExceptionAndRethrow:(Ljava/security/PrivilegedActionException;)V
5: new java.lang.InternalError
dup
aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
1 3 1 pea Ljava/security/PrivilegedExceptionAction<Ljava/util/stream/Stream<Ljava/lang/String;>;>;
4 6 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
static void unwrapIOExceptionAndRethrow(java.security.PrivilegedActionException);
descriptor: (Ljava/security/PrivilegedActionException;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 1: aload 1
instanceof java.io.IOException
ifeq 3
2: aload 1
checkcast java.io.IOException
athrow
3: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.lang.RuntimeException
ifeq 5
4: aload 1
checkcast java.lang.RuntimeException
athrow
5: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Error
ifeq 7
6: aload 1
checkcast java.lang.Error
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 pae Ljava/security/PrivilegedActionException;
1 8 1 x Ljava/lang/Throwable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pae
static java.lang.String readStringValue(jdk.internal.platform.CgroupSubsystemController, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic run(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/security/PrivilegedExceptionAction;
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;
jdk/internal/platform/CgroupUtil.lambda$1(Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/io/BufferedReader; (6)
()Ljava/io/BufferedReader;
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.io.BufferedReader
3: astore 5
start local 5 4: aload 5
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 6
start local 6 5: aload 6
6: aload 5
ifnull 7
aload 5
invokevirtual java.io.BufferedReader.close:()V
7: StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.security.PrivilegedExceptionAction java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String
StackMap stack: java.lang.String
areturn
end local 6 StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.security.PrivilegedExceptionAction java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 5
ifnull 10
aload 5
invokevirtual java.io.BufferedReader.close:()V
end local 5 StackMap locals:
StackMap stack:
10: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 4
aload 3
ifnonnull 12
aload 4
astore 3
goto 13
StackMap locals:
StackMap stack:
12: aload 3
aload 4
if_acmpeq 13
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals: jdk.internal.platform.CgroupSubsystemController java.lang.String java.security.PrivilegedExceptionAction
StackMap stack: java.security.PrivilegedActionException
14: astore 3
start local 3 15: aload 3
invokestatic jdk.internal.platform.CgroupUtil.unwrapIOExceptionAndRethrow:(Ljava/security/PrivilegedActionException;)V
16: new java.lang.InternalError
dup
aload 3
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 controller Ljdk/internal/platform/CgroupSubsystemController;
0 17 1 param Ljava/lang/String;
1 17 2 pea Ljava/security/PrivilegedExceptionAction<Ljava/io/BufferedReader;>;
4 10 5 bufferedReader Ljava/io/BufferedReader;
5 8 6 line Ljava/lang/String;
15 17 3 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
4 6 8 any
2 7 11 any
8 11 11 any
1 7 14 Class java.security.PrivilegedActionException
8 14 14 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
controller
param
public static java.util.List<java.lang.String> readAllLinesPrivileged(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokedynamic run(Ljava/nio/file/Path;)Ljava/security/PrivilegedExceptionAction;
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;
jdk/internal/platform/CgroupUtil.lambda$2(Ljava/nio/file/Path;)Ljava/util/List; (6)
()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.List
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 4: aload 1
invokestatic jdk.internal.platform.CgroupUtil.unwrapIOExceptionAndRethrow:(Ljava/security/PrivilegedActionException;)V
5: new java.lang.InternalError
dup
aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
1 3 1 pea Ljava/security/PrivilegedExceptionAction<Ljava/util/List<Ljava/lang/String;>;>;
4 6 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
private static java.util.stream.Stream lambda$0(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/stream/Stream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic java.nio.file.Files.lines:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.io.BufferedReader lambda$1(jdk.internal.platform.CgroupSubsystemController, java.lang.String);
descriptor: (Ljdk/internal/platform/CgroupSubsystemController;Ljava/lang/String;)Ljava/io/BufferedReader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
0: 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 java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;)Ljava/io/BufferedReader;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.util.List lambda$2(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "CgroupUtil.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles