RFR: 8333446: Add tests for hierarchical container support [v11]
Severin Gehwolf
sgehwolf at openjdk.org
Wed Sep 11 14:13:50 UTC 2024
> Please review this PR which adds test support for systemd slices so that bugs like [JDK-8217338](https://bugs.openjdk.org/browse/JDK-8217338) can be verified. The added test, `SystemdMemoryAwarenessTest` currently passes on cgroups v1 and cgroups v2 (since [JDK-8322420](https://bugs.openjdk.org/browse/JDK-8322420) is fixed now).
>
> I'm adding those tests in order to not regress another time.
>
> Testing:
> - [x] Container tests on Linux x86_64 cgroups v2 and Linux x86_64 cgroups v1.
> - [x] New systemd test on cg v1 and cg v2 (passes).
> - [x] GHA
Severin Gehwolf has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 20 additional commits since the last revision:
- Remove test from problem list as the bug is fixed
- Merge branch 'master' into jdk-8333446-systemd-slice-tests
- Improve reliability of cpu quota test
- Adapt JDK-8339148
- Merge branch 'master' into jdk-8333446-systemd-slice-tests
- Merge branch 'master' into jdk-8333446-systemd-slice-tests
- Fix comment of WB::host_cpus()
- Handle non-root + CGv2
- Add nested hierarchy to test framework
- Revert "Add root check for SystemdMemoryAwarenessTest.java"
This reverts commit 7e8d9ed46815096ae8c4502f3320ebf5208438d5.
- ... and 10 more: https://git.openjdk.org/jdk/compare/9fc62b11...88298b99
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19530/files
- new: https://git.openjdk.org/jdk/pull/19530/files/0e52e004..88298b99
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19530&range=10
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19530&range=09-10
Stats: 11492 lines in 376 files changed: 6584 ins; 3192 del; 1716 mod
Patch: https://git.openjdk.org/jdk/pull/19530.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19530/head:pull/19530
PR: https://git.openjdk.org/jdk/pull/19530
More information about the hotspot-dev
mailing list