[11u] RFR: 8255908: ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem
Langer, Christoph
christoph.langer at sap.com
Wed Dec 23 06:29:23 UTC 2020
Hi Severin,
I've checked your backport and I think you've hit all spots for catching UncheckedIOException in the 11u cgroup implementation. Looks good.
Cheers
Christoph
> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> On
> Behalf Of Severin Gehwolf
> Sent: Freitag, 18. Dezember 2020 11:08
> To: jdk-updates-dev <jdk-updates-dev at openjdk.java.net>
> Subject: Re: [11u] RFR: 8255908: ExceptionInInitializerError due to
> UncheckedIOException while initializing cgroupv1 subsystem
>
> On Thu, 2020-12-10 at 14:07 +0100, Severin Gehwolf wrote:
> > Hi!
> >
> > Could I please get a review of this bugfix which improves error
> > checking in the Java Metrics container detection code? The patch is
> > basically a rewrite, since there is no cgroups v2 in JDK 11, and places
> > where UncheckedIOException need to be handled are different enough
> for
> > the JDK head patch to not apply properly.
> >
> > The gist is to handle UncheckedIOException, possibly thrown because of
> > interrupts, and exit gracefully rather than failing to initialize and
> > crash.
> >
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8255908
> > webrev: https://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-
> 8255908/01/webrev/
> >
> > Testing: Container tests on x86_64 Linux (cgroups v1) and tier 1.
> >
> > Thoughts?
>
> Anyone?
>
> Thanks,
> Severin
More information about the jdk-updates-dev
mailing list