[jdk8u-dev] RFR: 8313083: Print 'rss' and 'cache' as part of the container information [v3]
Severin Gehwolf
sgehwolf at openjdk.org
Mon Jan 26 14:12:15 UTC 2026
On Mon, 19 Jan 2026 20:31:00 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
>> Jonathan Dowland 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 six additional commits since the last revision:
>>
>> - Merge remote-tracking branch 'jdk8u-dev/master' into 8313083-8u
>> - remove reporting on tasks
>>
>> included in error; part of context of backport but not added by
>> the backport.
>>
>> Signed-off-by: Jonathan Dowland <jdowland at redhat.com>
>> - 8313083: Print 'rss' and 'cache' as part of the container information
>>
>> Reviewed-by: andrew, sgehwolf
>> Backport-of: aeb2d2d0ce17da3aa7d49679beb4da2dd6f341ad
>> - 8287011: Improve container information
>>
>> Backport-of: e60939850e5328b9c0f2002ac5ed7744375bf18b
>> - 8284758: [linux] improve print_container_info
>>
>> Reviewed-by: sgehwolf
>> Backport-of: 6c6d5223dfaae268f968f4292356d4be89adb122
>> - 8220658: Improve the readability of container information in the error log
>>
>> Backport-of: 2c4b9e0778e170a17b04217bee66bb6c4fb18c0c
>
> 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!
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/726#issuecomment-3799796088
More information about the jdk8u-dev
mailing list