[jdk8u-dev] RFR: 8313083: Print 'rss' and 'cache' as part of the container information [v3]
Jonathan Dowland
jdowland at openjdk.org
Thu Feb 12 13:58:15 UTC 2026
On Mon, 26 Jan 2026 14:08:12 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> tier1 hotspot test failure : `gc/arguments/TestCMSHeapSizeFlags.java`. will look closer
>
> @jmtd There seems to be a problem with this functionality. I believe it's related to a missing backport of [JDK-8298730](https://bugs.openjdk.org/browse/JDK-8298730). The symptom is something like this in `TestMisc.java` test logs:
>
>
> Type %lu not found in file /sys/fs/cgroup/memory/memory.stat
>
>
> This likely because after this patch we look for `rss <value>` in `/sys/fs/cgroup/memory/memory.stat` file. However there are also entries with `rss_huge, total_rss, total_rss_huge` in `memory.stat` on some systems. The match function is wrong as it gets a match of `> 1`, entering the error case. This affects JDK 11u as well. Couldn't reproduce with JDK 17+ Please take a look for JDK 8 and 11. Thank you!
Hi @jerboaa , I started work on a backport of [JDK-8298730](https://bugs.openjdk.org/browse/JDK-8298730) to 11u (https://github.com/openjdk/jdk11u-dev/pull/3149), but it needs a little more work before I can properly request review.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/726#issuecomment-3891103026
More information about the jdk8u-dev
mailing list