jmx-dev RFR: JDK-8030957 - AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX
Suchismith Roy
sroy at openjdk.org
Thu Jul 24 16:39:24 UTC 2025
On Wed, 21 May 2025 07:21:02 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.
@MBaesken would it be possible for you to try this patch once to see if the load values are realistic / accurate ?
Else if you can provide some use case that I can try.
> There is still an fflush(stdout); in UnixOperatingSystem.c - guess this is not needed any more?
@MBaesken we tried testing both semeru and temurin again system tools like nmon/topas but the values differ for both.
This probably has something to do with how topas/nmon is working behind the hood.. Do you suggest any different test ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-2908856936
PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-2908858697
PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-3103606269
More information about the jmx-dev
mailing list