jmx-dev RFR: JDK-8030957 - AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX [v9]
Martin Doerr
mdoerr at openjdk.org
Mon Oct 6 15:39:29 UTC 2025
On Mon, 6 Oct 2025 14:21:30 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> JBS Issue : [JDK-8030957](https://bugs.openjdk.org/browse/JDK-8030957)
>>
>> These two methods should be implemented in src/aix/native/sun/management/AixOperatingSystem.c (which has to be created).
>>
>> getProcessCpuLoad() can be probably implemented in the same way like on Solaris be reading /proc/self/psinfo
>>
>> For getSystemCpuLoad() we'll probalby have to use 'perfstat_cpu_total()' from libperf (see http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.prftools/doc/prftools/prftools07.htm#wq407)
>>
>> Once this issue has been resolved the below two excludes must be removed from jdk/test/ProblemList.txt:
>>
>> com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java aix-all
>> com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java aix-all
>
> Suchismith Roy has updated the pull request incrementally with one additional commit since the last revision:
>
> review comments
There is still "javax/management/MBeanServer/OldMBeanServerTest.java 8030957 aix-all". Does this test work as well, now?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25332#issuecomment-3372347450
More information about the jmx-dev
mailing list