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

Poonam Bajaj poonam at openjdk.java.net
Thu Nov 19 17:04:15 UTC 2020


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1303/files
  - new: https://git.openjdk.java.net/jdk/pull/1303/files/6c14c814..80799f29

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1303&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1303&range=00-01

  Stats: 8 lines in 2 files changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1303.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1303/head:pull/1303

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


More information about the core-libs-dev mailing list