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

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


Changeset: 989d68f1
Author:    Jonathan Dowland <jdowland at openjdk.org>
Date:      2022-12-12 14:09:53 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/989d68f1e1d046829d0b19aadb3453febd0566db

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

! hotspot/src/os/linux/vm/cgroupSubsystem_linux.cpp
! hotspot/src/os/linux/vm/cgroupSubsystem_linux.hpp
! hotspot/src/share/vm/prims/whitebox.cpp
! hotspot/src/share/vm/prims/whitebox.hpp
+ hotspot/test/runtime/containers/cgroup/CgroupSubsystemFactory.java
! hotspot/test/testlibrary/com/oracle/java/testlibrary/Utils.java
! hotspot/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java



More information about the jdk8u-dev-changes mailing list