[jdk17u-dev] RFR: 8287011: Improve container information [v2]
Matthias Baesken
mbaesken at openjdk.org
Thu Oct 27 14:10:03 UTC 2022
On Thu, 27 Oct 2022 13:43:15 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp line 188:
>>
>>> 186: char* CgroupV2Subsystem::mem_swp_current_val() {
>>> 187: GET_CONTAINER_INFO_CPTR(cptr, _unified, "/memory.swap.current",
>>> 188: "Swap currently used is: %s", "%s", mem_swp_current_str, 1024);
>>
>> Would love to see 'K' instead of 1024. 'K' is declared in share/utilities/globalDefinitions.hpp
>> This is just one of multiple occurrences. I do not mark all of them.
>
> This could get changed upstream, but please not in a backport!
Yes I will look into this upstream, not in the backport !
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/844
More information about the jdk-updates-dev
mailing list