RFR: 8255908: ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem [v2]
Poonam Bajaj
poonam at openjdk.java.net
Thu Nov 19 20:52:07 UTC 2020
On Thu, 19 Nov 2020 19:29:25 GMT, Bob Vandette <bobv at openjdk.org> wrote:
>> This looks good to me. @jerboaa might want to take a look.
>
> Shouldn't you add a check in src/java.base/linux/classes/jdk/internal/platform/cgroupv2/CgroupV2Subsystem.java:sumTokensIOStat ?
>
> What about getLongEntry in src/java.base/linux/classes/jdk/internal/platform/CgroupSubsystemController.java? There are streams operations occuring there as well.
@bobvandette sumTokensIOStat() and getLongEntry() should also have the catch blocks, and I have added those. Please review the latest commit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1303
More information about the core-libs-dev
mailing list