Integrated: 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Severin Gehwolf
sgehwolf at openjdk.org
Fri Sep 22 08:16:22 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 pull request has now been integrated.
Changeset: 7352bb91
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7352bb910506b7d22b4d3860223fb933295eab14
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Reviewed-by: shade
-------------
PR: https://git.openjdk.org/jdk/pull/15840
More information about the hotspot-runtime-dev
mailing list