[jdk8u-dev] RFR: 8197408: Bad pointer comparison and small cleanup in os_linux.cpp

Severin Gehwolf sgehwolf at openjdk.org
Thu Nov 10 17:24:25 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.

Looks OK to me. Code changes missing from the patch are already in 8u (and came there with the initial integration 392e56e410728a1776e5b211b3d811f9af44143a).

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

Marked as reviewed by sgehwolf (Reviewer).

PR: https://git.openjdk.org/jdk8u-dev/pull/164


More information about the jdk8u-dev mailing list