[jdk8u-dev] RFR: 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Jonathan Dowland
jdowland at openjdk.org
Wed Nov 9 11:11:36 UTC 2022
On Wed, 9 Nov 2022 10:25:03 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
> This is a backport of [JDK-8197408](https://bugs.openjdk.org/browse/JDK-8197408) to jdk8u-dev as part of cgroups v2. I've backported it as a pre-requisite for 8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10 (<https://github.com/openjdk/jdk8u-dev/pull/155>)
>
> Most of the original patch has been integrated already: I've left a whitespace change in for os_linux.cpp to hopefully avoid context problems later on. The majority of this patch is introducing the test PlainRead.java.
>
> Not clean: test adjustments to jtreg metadata, imports, and JVM flags needed.
Test builds, runs and fails with
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '^.*CPU Shares is: *(\\d+|-1|Unlimited).*$' missing from stdout/stderr
which I think is resolved by 8278951 (confirming)
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/164
More information about the jdk8u-dev
mailing list