RFR: JDK-8324637: [aix] Implement support for reporting swap space in jdk.management

Matthias Baesken mbaesken at openjdk.org
Thu Jan 25 15:37:40 UTC 2024


On Thu, 25 Jan 2024 14:25:51 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Do we need the cast? perfstat_memory_total_t members are all 64-bit, no?
> 
> Also, can we shorten this to:
> 
> ```
> return (available ? memory_info.pgsp_free : memory_info.pgsp_total) * 4096;
> ```

Hi Thomas, I see no types defined here https://www.ibm.com/docs/pt/aix/7.2?topic=interfaces-perfstat-memory-total-interface but most likely you are correct and they are 64bit.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/17569#discussion_r1466552393


More information about the serviceability-dev mailing list