Integrated: 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
Severin Gehwolf
sgehwolf at openjdk.org
Wed Jul 6 08:27:47 UTC 2022
On Mon, 4 Jul 2022 15:03:41 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this test change to also support `crun` on cgroups v2 systems. `crun` aborts any invocation that includes `--memory-swappiness` CLI option. I don't think it's needed for the purpose of the test. `--memory X` and `--memory-swap X` where `X` is the same value already tells the system to not use swap.
>
> Tested on Linux x86_64, cgroups v1 and cgroups v2 systems (including an affected one).
This pull request has now been integrated.
Changeset: ac6be165
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ac6be165196457a26d837760b5f5030fe010d633
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
Reviewed-by: sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/9366
More information about the hotspot-runtime-dev
mailing list