[jdk8u-dev] RFR: 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun [v3]
Severin Gehwolf
sgehwolf at openjdk.org
Wed Jan 11 17:31:34 UTC 2023
On Mon, 9 Jan 2023 13:16:43 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> Clean backport. Fixes a test issue on cg v2 where `--memory-swappiness` is not supported.
>
> Severin Gehwolf has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>
> 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
>
> Backport-of: ac6be165196457a26d837760b5f5030fe010d633
Thanks!
> Was `--memory-swappiness` actually achieving anything on systems where it was supported?
Memory swappiness is a cgroup v1 feature. So it might have had some effect, but for the purpose of the test I'm not sure it did matter as it was setting memory and memory/swap to the same value anyway. At least I'm not aware of any test failures of this OOM test with these settings.
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/217
More information about the jdk8u-dev
mailing list