Re: RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information [v2]

2024-01-25 Thread Matthias Baesken
On Thu, 25 Jan 2024 09:15:38 GMT, Matthias Baesken wrote: >> According to the sysinfo manpage ( >> https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap >> related entries in the struct sysinfo are given as multiples of mem_unit >> bytes. >> "In the above structure, sizes

Re: RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information [v2]

2024-01-25 Thread Martin Doerr
On Thu, 25 Jan 2024 09:15:38 GMT, Matthias Baesken wrote: >> According to the sysinfo manpage ( >> https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap >> related entries in the struct sysinfo are given as multiples of mem_unit >> bytes. >> "In the above structure, sizes

Re: RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information [v2]

2024-01-25 Thread Matthias Baesken
> According to the sysinfo manpage ( > https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap > related entries in the struct sysinfo are given as multiples of mem_unit > bytes. > "In the above structure, sizes of the memory and swap fields are given as > multiples of

Re: RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information

2024-01-25 Thread Matthias Baesken
On Wed, 24 Jan 2024 10:07:17 GMT, Matthias Baesken wrote: > According to the sysinfo manpage ( > https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap > related entries in the struct sysinfo are given as multiples of mem_unit > bytes. > "In the above structure, sizes of

Re: RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information

2024-01-24 Thread David Holmes
On Wed, 24 Jan 2024 10:07:17 GMT, Matthias Baesken wrote: > According to the sysinfo manpage ( > https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap > related entries in the struct sysinfo are given as multiples of mem_unit > bytes. > "In the above structure, sizes of

RFR: JDK-8324598: use mem_unit when working with sysinfo memory and swap related information

2024-01-24 Thread Matthias Baesken
According to the sysinfo manpage ( https://man7.org/linux/man-pages/man2/sysinfo.2.html ) the memory and swap related entries in the struct sysinfo are given as multiples of mem_unit bytes. "In the above structure, sizes of the memory and swap fields are given as multiples of mem_unit bytes."