RFR: 8255908: ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem [v2]

Aleksey Shipilev shade at openjdk.java.net
Thu Nov 19 18:00:14 UTC 2020


On Thu, 19 Nov 2020 17:04:15 GMT, Poonam Bajaj <poonam at openjdk.org> wrote:

>> Hi,
>> 
>> Please review this simple change that catches UncheckedIOException that can occur if /proc/self/cgroup or /proc/self/mountinfo files don't exist on the system, or if there is an interrupt while these are being read.
>> 
>> Testing: Tier1, Tier2 and Tier3.
>> 
>> Thanks,
>> Poonam
>
> Poonam Bajaj has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added UncheckedIOException catch blocks for cgroupv2 subsystem, and also for the rest of reader methods in CgroupUtil.java

This looks good to me. @jerboaa might want to take a look.

-------------

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1303


More information about the core-libs-dev mailing list