On Thu, 25 Jan 2024 15:33:36 GMT, Matthias Baesken wrote:
> > I can't try this and don't use AIX, but it looks good. It follows the same
> > pattern as the other AIX cases in the file.
> > Although the others (e.g. line 200) don't throw_internal_error if the call
> > returns -1, they just retur
On Thu, 25 Jan 2024 14:25:51 GMT, Thomas Stuefe 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
On Thu, 25 Jan 2024 14:11:35 GMT, Kevin Walls wrote:
> I can't try this and don't use AIX, but it looks good. It follows the same
> pattern as the other AIX cases in the file.
>
> Although the others (e.g. line 200) don't throw_internal_error if the call
> returns -1, they just return -1. You
On Thu, 25 Jan 2024 12:30:15 GMT, Matthias Baesken wrote:
> The get_total_or_available_swap_space_size coding misses AIX support, we only
> return 0. This should be enhanced.
> The perfstat API can be used, see
> https://www.ibm.com/docs/pt/aix/7.2?topic=interfaces-perfstat-memory-total-interfa
On Thu, 25 Jan 2024 12:30:15 GMT, Matthias Baesken wrote:
> The get_total_or_available_swap_space_size coding misses AIX support, we only
> return 0. This should be enhanced.
> The perfstat API can be used, see
> https://www.ibm.com/docs/pt/aix/7.2?topic=interfaces-perfstat-memory-total-interfa
The get_total_or_available_swap_space_size coding misses AIX support, we only
return 0. This should be enhanced.
The perfstat API can be used, see
https://www.ibm.com/docs/pt/aix/7.2?topic=interfaces-perfstat-memory-total-interface
.
-
Commit messages:
- JDK-8324637
Changes: http