jmx-dev RFR: JDK-8030957 - AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX

Matthias Baesken mbaesken at openjdk.org
Thu Jul 24 16:39:24 UTC 2025


On Mon, 26 May 2025 07:39:59 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

> > Are you sure the perfstat functionality is always available ? In HS we do dynamic resolution (see e.g. os_perf_aix.cpp), but maybe that was needed long time ago and is not really needed any more? But please check this .
> 
> I tried with a standalone program and did not face any issues.

I was more thinking about different AIX machines setups/OS levels/installations. Is the perfstat functionality always there 'these days' ?

> would it be possible for you to try this patch once to see if the load values are realistic / accurate ?

Not 100% sure how, should we compare with values provided by other tools (system tools etc.) ?

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

PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-2908902195
PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-2908903417


More information about the jmx-dev mailing list