RFR: 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun

Severin Gehwolf sgehwolf at openjdk.org
Wed Jul 6 08:27:46 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).

Thanks for the review!

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

PR: https://git.openjdk.org/jdk/pull/9366


More information about the hotspot-runtime-dev mailing list