[jdk11u-dev] RFR: 8266490: Extend the OSContainer API to support the pids controller of cgroups
Martin Doerr
mdoerr at openjdk.java.net
Mon May 16 15:35:45 UTC 2022
On Mon, 16 May 2022 12:03:05 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The backport of 8266490 does not apply cleanly. Some copyright years need adjustment. The code in os_linux.cpp is slightly different in 11 compared to 17 and needs manual adjustment. TestPids.java needs change in the "run driver" line regarding whitebox (adjusted to jdk11 needs).
Original change modifies Copyright of cgroupV2Subsystem_linux.cpp. Please add that before integrating. Otherwise, lgtm.
src/hotspot/os/linux/os_linux.cpp line 2555:
> 2553: } else {
> 2554: st->print_cr("%s", j == OSCONTAINER_ERROR ? "not supported" : "unlimited");
> 2555: }
Original change adds an empty line. Would be better to have it, too.
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk11u-dev/pull/1089
More information about the jdk-updates-dev
mailing list