[jdk8u-dev] Integrated: 8239785: Cgroups: Incorrect detection logic on old systems in hotspot

Jonathan Dowland jdowland at openjdk.org
Mon Dec 12 14:12:38 UTC 2022


On Wed, 12 Oct 2022 10:19:37 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

> This is a backport of add18914fb1294999877b563c734a25b4c17b922 for cgroups v2 support injdk8u-dev, via the 11u backport.
> 
> It does not apply clean:
> 
>  * context issues for changes made for the different approach for logging in 8u
>  * copyright lines
> 
> Small amount of re-working of new code that used `log_trace`/`log_debug` to use the 8u approach.

This pull request has now been integrated.

Changeset: 989d68f1
Author:    Jonathan Dowland <jdowland at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/989d68f1e1d046829d0b19aadb3453febd0566db
Stats:     749 lines in 7 files changed: 573 ins; 95 del; 81 mod

8239785: Cgroups: Incorrect detection logic on old systems in hotspot

Return NULL subsystem if no cgroup controllers are mounted.

Reviewed-by: sgehwolf
Backport-of: add18914fb1294999877b563c734a25b4c17b922

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

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


More information about the jdk8u-dev mailing list