On Thu, 25 Jan 2024 14:25:51 GMT, Thomas Stuefe <stu...@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

Reply via email to