Previous JDK releases used an incorrect interpretation of the Linux cgroups parameter
cpu.shares. This might cause the JVM to use fewer CPUs than available, leading to an under utilization of CPU resources when the JVM is used inside a container.
Starting from this JDK release, by default, the JVM no longer considers
cpu.shares when deciding the number of threads to be used by the various thread pools. The
-XX:+UseContainerCpuShares command-line option can be used to revert to the previous behaviour. This option is deprecated and may be removed in a future JDK release.
sudo dnf upgrade --refresh --advisory=FEDORA-2022-b76ab52e73
Please login to add feedback.