git: openjdk/jdk8u-dev: 8230305: Cgroups v2: Container awareness

Jonathan Dowland jdowland at openjdk.org
Wed Nov 30 20:10:49 UTC 2022


Changeset: 7eb2803b
Author:    Jonathan Dowland <jdowland at openjdk.org>
Date:      2022-11-30 20:08:59 +0000
URL:       https://git.openjdk.org/jdk8u-dev/commit/7eb2803b5b3c769827cf02cc40a15b13b74bf588

8230305: Cgroups v2: Container awareness
8216366: Add rationale to PER_CPU_SHARES define
8229202: Docker reporting causes secondary crashes in error handling
8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
8254997: Remove unimplemented OSContainer::read_memory_limit_in_bytes

Implement Cgroups v2 container awareness in hotspot

Reviewed-by: sgehwolf, andrew
Backport-of: d462a6b5c9bd3dae5257cca42ea38c19cb742e3c

+ hotspot/src/os/linux/vm/cgroupSubsystem_linux.cpp
+ hotspot/src/os/linux/vm/cgroupSubsystem_linux.hpp
+ hotspot/src/os/linux/vm/cgroupV1Subsystem_linux.cpp
+ hotspot/src/os/linux/vm/cgroupV1Subsystem_linux.hpp
+ hotspot/src/os/linux/vm/cgroupV2Subsystem_linux.cpp
+ hotspot/src/os/linux/vm/cgroupV2Subsystem_linux.hpp
! hotspot/src/os/linux/vm/osContainer_linux.cpp
! hotspot/src/os/linux/vm/osContainer_linux.hpp
! hotspot/src/os/linux/vm/os_linux.hpp
! hotspot/test/runtime/containers/docker/TestCPUAwareness.java



More information about the jdk8u-dev-changes mailing list