git: openjdk/jdk11u-dev: 8239785: Cgroups: Incorrect detection logic on old systems in hotspot

Severin Gehwolf sgehwolf at openjdk.java.net
Mon Mar 28 08:37:08 UTC 2022


Changeset: d5ae8cf0
Author:    Jonathan Dowland <jdowland at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2022-03-28 08:35:01 +0000
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/d5ae8cf004c4f50d552144a7ac0d933d89d53a75

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

! src/hotspot/os/linux/cgroupSubsystem_linux.cpp
! src/hotspot/os/linux/cgroupSubsystem_linux.hpp
! src/hotspot/share/prims/whitebox.cpp
! src/hotspot/share/prims/whitebox.hpp
+ test/hotspot/jtreg/containers/cgroup/CgroupSubsystemFactory.java
! test/lib/sun/hotspot/WhiteBox.java



More information about the jdk-updates-changes mailing list