RFR: 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Jul 5 17:29:23 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).
Looks good.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9366
More information about the hotspot-runtime-dev
mailing list