RFR: 8327946: containers/docker/TestJFREvents.java fails when host kernel config vm.swappiness=0 after 8325139
SendaoYan
syan at openjdk.org
Tue Mar 12 09:11:22 UTC 2024
According to the [docker document](https://docs.docker.com/config/containers/resource_constraints/#--memory-swappiness-details), the default value of --memory-swappiness is inherited from the host machine. So, when the the kervel config vm.swappiness=0 on the host machine, this testcase will fail, because of docker container can not use swap memory, the deafult value of --memory-swappiness is 0.
-------------
Commit messages:
- 8327946: containers/docker/TestJFREvents.java fails when host kernel config vm.swappiness=0 after 8325139
Changes: https://git.openjdk.org/jdk/pull/18225/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18225&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8327946
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/18225.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18225/head:pull/18225
PR: https://git.openjdk.org/jdk/pull/18225
More information about the hotspot-dev
mailing list