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

Suchismith Roy sroy at openjdk.org
Thu Jul 24 16:39:25 UTC 2025


On Mon, 26 May 2025 07:57:35 GMT, Matthias Baesken <mbaesken 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' ?

Hi @MBaesken It seems perfstat is available since AIX 5. I see there is dynamic loading done in libperfstat.cpp.  How to confirm if that is necessary ? I did not face issues in this program and also standalone C++ program on AIX 7.2

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

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


More information about the jmx-dev mailing list