RFR: 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC

Severin Gehwolf sgehwolf at openjdk.org
Thu Sep 21 08:14:42 UTC 2023


On Wed, 20 Sep 2023 12:02:29 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this test fix to restrain the number of cores being used for the test. What matters for the test is the memory limit. The test verifies that a certain memory limit with swappiness set to 0 returns the memory limit (without swap). On some systems with many cores the memory limit might be too small for the number of threads the JVM creates with the set limit. I propose to make the number of cores the test is allowed to used to a fixed value: 4 (over the number of cores available on the system, which makes the test passing system dependent).

This is a trivial test only change, so I'll integrate unless I hear objections by the end of the day.

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

PR Comment: https://git.openjdk.org/jdk/pull/15840#issuecomment-1729070888


More information about the hotspot-runtime-dev mailing list