- 
    Type:
Enhancement
 - 
    Resolution: Fixed
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: port-stage-ppc-aix, 8, 9, 10
 - 
    Component/s: core-svc
 
- 
        b19
 - 
        aix
 
                    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 you should not forget to remove the two excludes from jdk/test/ProblemList.txt:
com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java aix-all
com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java aix-all
            
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 you should not forget to remove the two excludes from jdk/test/ProblemList.txt:
com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java aix-all
com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java aix-all
- relates to
 - 
                    
JDK-8079510 AIX: fix build after '8042901: Allow com.sun.management to be in a different module...'
-         
     - Resolved
 
 -         
 - 
                    
JDK-8193807 AIX: avoid UnsatisfiedLinkError by providing empty basic implementations of getSystemCpuLoad and getProcessCpuLoad
-         
     - Closed
 
 -         
 
- links to
 - 
                    
        
        Commit(master)
        openjdk/jdk/d45e65ba
    
 - 
                    
        
        Review(master)
        openjdk/jdk17u-dev/4113
    
 - 
                    
        
        Review(master)
        openjdk/jdk21u-dev/2403
    
 - 
                    
        
        Review(master)
        openjdk/jdk25u/344
    
 - 
                    
        
        Review(master)
        openjdk/jdk/25332
    
 
             (2 links to)